]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blame - README.md
Add some badges
[irc/unrealircd/unrealircd-webpanel.git] / README.md
CommitLineData
60230273 1 ## UnrealIRCd Administration WebPanel
1e35660c 2
60230273
VP
3[![Version](https://img.shields.io/badge/UnrealIRCd-6.0.6_or_later-darkgreen.svg)]()
4[![Version](https://img.shields.io/badge/Version-Beta-blue.svg)]()
5[![Maintained](https://img.shields.io/badge/Maintained-yes-darkgreen.svg)]()
6[![Unreal](https://img.shields.io/badge/PHP-8.0_or_later-darkgreen.svg)](https://unrealircd.org)
7
e236ae9a
VP
8 Are you tired of managing your IRC network through a command line interface? Do you wish there was a more user-friendly way to keep track of your servers, channels, and users? Look no further than the UnrealIRCd Web Panel!
9
10This web-based tool provides a comprehensive overview of your IRC network, including all channels and users, as well as detailed information about individual servers and users. With the UnrealIRCd Web Panel, you can easily add and remove server bans and spamfilter entries, rehash your entire network, and filter lists of information based on input criteria, all from the convenience of your web browser.
11
12One of the key features of the UnrealIRCd Web Panel is its user-friendly interface. The panel is designed to be easy to navigate, with all the information you need displayed in an organized and easy-to-understand format. This makes it much easier to manage your network, especially if you have multiple servers or a large number of users.
13
14Additionally, the UnrealIRCd Web Panel is a great tool for keeping track of your network's activity. You can view detailed information about the channels and users on your network as well as manage your servers. This allows you to quickly identify and address any issues that may arise.
15
16Overall, the UnrealIRCd Web Panel is a must-have tool for any administrator managing an IRC network. Its user-friendly interface and powerful management capabilities make it easy to keep track of your network and ensure that everything is running smoothly. So why not give it a try and see how it can improve your IRC network management experience?
17
18## Example Overview
5eac3f4d 19 <img src="https://i.ibb.co/7SdFZnk/Screenshot-from-2023-01-14-07-26-21.png">
922a4534
VP
20
21## Prerequisites ##
0f498c3d 22- PHP 8 or later
922a4534 23- A webserver
475cb9a8 24- UnrealIRCd 6.0.6-git recommended. Minimal functionality available with UnrealIRCd 6.0.5.
922a4534 25
2f9ac14e
VP
26Note: PHP 8 may require special installation instructions.
27Here are some instructions for:
28- [Ubuntu 20/22](https://linuxhint.com/install-php-8-ubuntu-22-04/)
29- [Debian](https://www.vultr.com/docs/how-to-install-php-8-on-debian-11/)
30- [CentOS](https://www.tecmint.com/install-php-8-on-centos/)
31
32For more installation methods for PHP 8, make a websearch for how to install PHP 8 on your operating system.
922a4534
VP
33## Installation ##
34
35Note: This instructional assumes this is going to be hosted in the webroot directory `/var/www/` (html/) directory.
36You may want to hide this somehow. Well, you definitely should. I don't know how to do that though. Sorry.
37
38Please make sure you have [correctly setup UnrealIRCd for use with JSON-RPC](https://www.unrealircd.org/docs/JSON-RPC) before you continue.
39
f217c52a
BM
40- Go to your webserver root, for example `/var/www/html/`, and clone
41 this repository:
922a4534 42```
f217c52a 43cd /var/www/html
964e17d3 44git clone https://github.com/unrealircd/unrealircd-webpanel
922a4534
VP
45```
46
f217c52a
BM
47- Go into the directory and run composer to install the dependencies
48 (If you don't have composer, then [install it](https://getcomposer.org/download/) first):
7e236785 49```
f217c52a 50cd unrealircd-webpanel
7e236785
BM
51composer install
52```
7e236785 53
f217c52a 54- Edit the configuration file
922a4534 55```
e7192278 56cp config.php.sample config.php
922a4534
VP
57nano config.php
58```
59The file will look like this:<br>
60<img src="https://i.ibb.co/zZ7LsXD/Screenshot-from-2023-01-04-17-03-20.png">
61
62Edit the configuration file to match your UnrealIRCd's RPC credentials and save
63
f217c52a
BM
64NOTE: You most likely want to put the webpanel behind a login, using a
65`.htaccess` file or similar.
aef43f9e
BM
66
67## Updating for end-users ##
68For end-users, when you want to update to the latest version:
69```bash
70git pull
438920b3 71composer install
aef43f9e
BM
72```
73
74## Developers ##
75Developers of the webpanel will naturally use the same procedure as
76above. However, sometimes you will want to update to a newer version
77of the unrealircd-rpc-php library. You then need to run:
78```bash
79# For devs only!
438920b3 80composer update
aef43f9e
BM
81git commit composer.lock
82```
83Commiting the composer.lock file updates the dependency for all
84other users, that way a `composer update` by end-users will update
85to exactly the version that `composer install` just installed.