/unrealircd-webpanel

An administration webpanel for UnrealIRCd

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

UnrealIRCd Administration WebPanel

Version Version Maintained Unreal

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!

This 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.

One 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.

Additionally, 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.

Overall, 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?

Example Overview from Desktop

Example Overview from Mobile

Prerequisites

  • UnrealIRCd 6.0.6 or later
  • A webserver (e.g. apache or nginx)
  • PHP 8 or later

Note: PHP 8 may require special installation instructions. Here are some instructions for:

For more installation methods for PHP 8, make a websearch for how to install PHP 8 on your operating system.

Installation

Note: This instructional assumes this is going to be hosted in the webroot directory /var/www/ (html/) directory.

Please make sure you have correctly setup UnrealIRCd for use with JSON-RPC before you continue.

  • Go to your webserver root, for example /var/www/html/, and clone this repository:
cd /var/www/html
git clone https://github.com/unrealircd/unrealircd-webpanel
  • Go into the directory and run composer to install the dependencies (If you don't have composer, then install it first):
cd unrealircd-webpanel
composer install
  • Edit the configuration file
cp config.php.sample config.php
nano config.php

Edit the configuration file to match your UnrealIRCd's RPC credentials and save

IMPORTANT: You will want to put the webpanel behind a login, using a .htaccess file or similar. Don't open it up to the world!

Updating for end-users

For end-users, when you want to update to the latest version:

git pull
composer install

Authentication

Right now, by default everyone being able to access the URL can use the webpanel. In future versions this will no longer be the case. There are currently two authentication methods under development:

  • SQL (available but still in development!)
  • Local File DB (not public yet)

SQL Authentication (Work In Progress)

In order to use the SQL Authentication plugin you must first make sure you have an SQL database which UnrealIRCd Admin Panel can access.

Make sure you've put your SQL details in config.php and that you have "sql_auth", in the plugins section of the config.

You can create the first user by following the example in config.php. After you've logged in, you will have two new tabs: Panel Access and Logout. You will be able to add and delete users from the Panel Access tab.

Local File DB

This might take a while. Please wait a few days.

Developers

Developers of the webpanel will naturally use the same procedure as above. However, sometimes you will want to update to a newer version of the unrealircd-rpc-php library. You then need to run:

# For devs only!
composer update
git commit composer.lock

Commiting the composer.lock file updates the dependency for all other users, that way a composer update by end-users will update to exactly the version that composer install just installed.