OAuth2 for Typeform https://forms.ryg.one
This repository has been archived on 2026-05-24. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • HTML 63.9%
  • Python 31.3%
  • Dockerfile 4.8%
Find a file
2026-05-24 15:00:29 +02:00
.github 🔨️ (deps): Bump abatilo/actions-poetry from 2.3.0 to 2.4.0 2024-01-01 09:16:52 +01:00
.idea 📦 Bump version to 0.5.0 2021-12-02 16:26:41 +01:00
.media Update README 2026-05-24 15:00:29 +02:00
.vscode Pull some other improvements from template-poetry 2022-04-30 01:42:41 +02:00
rygforms Follow proxy protocol header 2022-07-15 04:33:31 +02:00
.gitignore Update README 2020-12-31 00:20:49 +01:00
Dockerfile Pull some other improvements from template-poetry 2022-04-30 01:42:41 +02:00
EXAMPLE.env 💎 "Arzigogolate" the code 2020-12-31 00:07:28 +01:00
poetry.lock ⬆️ (deps): Bump cryptography from 41.0.4 to 41.0.7 2023-12-02 01:24:01 +01:00
pyproject.toml Bump version to 0.5.12 2022-07-15 04:33:58 +02:00
README.md Update README 2026-05-24 15:00:29 +02:00
rp-rygforms.conf 💎 "Arzigogolate" the code 2020-12-31 00:07:28 +01:00
web-rygforms.service 💎 "Arzigogolate" the code 2020-12-31 00:07:28 +01:00

RYG Forms

OAuth2 for Typeform

Warning

This project is experimental and is no longer in development.

It remains published here for historical and archival purposes.

It might have security issues, which we considered out-of-scope for the goals of the project.

Running

Development

  1. Clone this repository:

    git clone git@github.com:RYGhub/rygforms.git
    
  2. Enter the cloned directory:

    cd rygforms
    
  3. Create a new .env file inside containing your configuration (see the example):

    cp EXAMPLE.env .env
    vim .env
    
  4. Install the requirements using Poetry:

    poetry install
    
  5. Run the debug server from inside the Poetry environment:

    poetry shell
    python -m rygforms
    

Production

  1. Create a new rygforms user:

    adduser rygforms --system
    
  2. Create a working directory for RYGforms, set the owner to rygforms and enter it:

    mkdir /opt/rygforms
    cd /opt/rygforms
    
  3. Create a new venv and enter it:

    python -m venv venv
    source venv/bin/activate
    
  4. Install through PyPI:

    pip install rygforms gunicorn
    
  5. Create a new .env file inside containing your configuration (see the example):

    curl https://raw.githubusercontent.com/RYGhub/rygforms/master/EXAMPLE.env > .env
    vim .env
    
  6. Change the owner of the working directory to rygforms:

    chown rygforms: /opt/rygforms
    
  7. Copy the provided systemd unit file to the /etc/systemd/system directory:

    curl https://raw.githubusercontent.com/RYGhub/rygforms/master/web-rygforms.service > /etc/systemd/system/web-rygforms.service
    
  8. Reload the systemd unit files:

    systemctl daemon-reload
    
  9. Start (and optionally enable) the service:

    systemctl start "web-rygforms"
    systemctl enable "web-rygforms"
    
  10. Copy the provided Apache site file to the /etc/apache2/sites-available directory:

curl https://raw.githubusercontent.com/RYGhub/rygforms/master/rp-rygforms.conf > /etc/apache2/sites-available/rp-rygforms.conf
  1. Enable the rp-rygforms site and reload the Apache configuration:
a2ensite rp-rygforms
systemctl reload apache2