Skip to content

IssueForms exposes GitHubs Issue Form Templates to let users submit issues anonymously.

License

Notifications You must be signed in to change notification settings

bliepp/IssueForms

Repository files navigation

Important: This is still work in progress. While everything should work just fine if configured correctly misconfigurations might throw really bad errors!

IssueForms

IssueForms is an open source way to expose your issue form templates to users, which don't have a GitHub account.

It allows not only anonymous issue tracking for private and public repositories but also enables form based issue tracking for private repositories, even for the free plan.

How it works

  1. Run IssueForms on any server that allows you to host WSGI applications
  2. IssueForms reads the issue form templates from your github repository and parses them into WTForms.
  3. When submitting a form, IssueForms connects to the GitHub API and submits the issue with an account of your choice.

Since the parsing and issue message generation happens inside of IssueForms the repo does not have to be public (even with the free plan).

Quick setup and initialization

Clone the repository with its dependencies:

~ $ git clone --recursive git@github.com:bliepp/IssueForms.git
~ $ cd IssueForms

Now create a new virtual environment and install the needed python packages.

IssueForms $ python -m venv .venv
IssueForms $ source .venv/bin/activate
(.venv) IssueForms $ pip install -r requirements.txt

The next step is to create and modify the config.ini

(.venv) IssueForms $ cp config_sample.ini config.ini # create config file
(.venv) IssueForms $ nano config.ini # configure Issueforms

Now run a development server

(.venv) IssueForms $ chmod 755 issueforms.py # make it executable
(.venv) IssueForms $ ./issueforms.py

Important: bottles's builtin WSGI server is only for development and testing. For production/deployment use gunicorn, cheroot or something similar!

Notes

  • The project depends on bottle and wtforms.
  • The HTML, CSS and JS part of the program depends on Bootstrap 5. This is implemented via a CDN, so no direct dependency is needed.

About

IssueForms exposes GitHubs Issue Form Templates to let users submit issues anonymously.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published