Flask based Web Registration for IRC. These require support for ircv3.2 draft/account-registration specification.
Go to file
2023-03-20 09:07:25 +01:00
templates Base code for registration 2021-07-16 16:39:58 +05:30
.gitignore Base code for registration 2021-07-16 16:39:58 +05:30
flaskapp.py minor fixes qol 2022-04-16 19:18:20 +05:30
forms.py minor fixes qol 2022-04-16 19:18:20 +05:30
irc_register.py Rewrite the logic for 'before-connect' key 2023-03-20 12:28:01 +05:30
LICENSE Upload LICENSE 2022-08-25 19:03:28 +02:00
README.md Include ref to old version and misc 2023-03-20 13:28:58 +05:30

IRC Web Registration

Version 1

The v1 of this concept can be referenced in the old and not updated README

The v1.1 enhancements added by Georg Pfuetzenreuter implements support for additional SSO integration to our KeyCloak setup. It also works-in SSL support.

This webform available here is purely demonstrative and does not successfully POST user data

Introduction

This is a basic still WIP overhaul framework for registering an account on an ircd using a webform that is referenced above.

Features

  • It relies on the draft IRCv3 spec draft/account-registration
  • It utilizes the flask framework and WEBIRC to relay remote host ip address.
  • Can be tweaked to allow registration attempts from exit-nodes and other unsavory hosts allowing them to securely work with the require-sasl constraint if needed.

Requirements

This will work with python3.6 and above.

It is recommended to work within a virtual environment.

  1. mkdir ircwebreg && cd ircwebreg
  2. Clone this repository.
  3. python3 -m venv venv
  4. source venv/bin/activate
  5. pip install -r requirements.txt

Installation and Setup

Todo! Refer to the issues and the Milestones and Projects for more

Note

Only works with setups not requiring verification at this moment as stated in #4