2025-12-20 18:42:52 +03:00
2025-12-19 19:31:12 +03:00
2025-12-13 23:31:50 +03:00
2025-06-29 18:50:41 +03:00
2025-12-13 23:31:50 +03:00
2025-08-17 00:11:34 +03:00
2025-06-29 18:50:41 +03:00
2025-08-16 02:22:04 +03:00
2025-06-29 20:31:06 +03:00
2025-12-13 23:31:50 +03:00
2025-12-15 14:16:23 +03:00

Pyrom

python/flask port of porom

this is now the canonical implementation of porom. it's compatible with the database of porom.

License

Released under CNPLv7+. Please read the full terms for proper wording.

installing & first time setup

docker (production)

  1. clone the repo
  2. create config/secrets.prod.env according to config/secrets.prod.env.example
  3. create config/pyrom_config.toml according to config/pyrom_config.toml.example and modify as needed
  4. make sure the data/ folder is writable by the app:
$ chmod -R 777 data/
  1. bring up the container:
$ docker compose up --build
  • opens port 8080
  • exposes data/db and data/static for data backup and persistence

make sure to run it in an interactive session the first time, because it will spit out the password to the auto-created admin account.

  1. point your favorite proxy at localhost:8080

manual (development)

  1. install python >= 3.13, sqlite3, libargon2, and imagemagick & clone repo
  2. create a venv:
$ python -m venv .venv
$ source .venv/bin/activate
  1. install requirements:
$ pip install -r requirements.txt
  1. run dev server:
$ python -m app.run

the server will run on localhost:8080. when run for the first time, it will create an admin account and print its credentials to the terminal, so make sure to run this in an interactive session.

press Ctrl+C to stop the server.

to deactivate the venv:

$ deactivate

when you want to run the server again, make sure to activate the venv first:

$ source .venv/bin/activate
$ python -m app.run

acknowledgments

pyrom uses many open-source and otherwise free-culture components. see the THIRDPARTY file for full credit.

Description
pyrous forum
Readme 2.4 MiB
Languages
Python 31.5%
CSS 27%
HTML 22.4%
SCSS 10.8%
JavaScript 8.1%
Other 0.2%