No description
Find a file
2025-09-10 00:03:35 -04:00
src added extremely simple favicon to slightly reduce transfer size of favicon requests 2025-09-10 00:03:35 -04:00
Caddyfile changed folder in caddyfile from src to prod 2025-09-09 21:17:47 -04:00
fonts_info.json added script to optimize font files (result is in new directory /prod), fixed indent in home page and made bullet characters hidden from accessibility tools 2025-09-09 20:28:10 -04:00
LICENSE Initial commit 2025-07-20 03:30:04 +02:00
LICENSE_CODE added license to script 2025-09-09 20:35:28 -04:00
prod.py prod folder is only deleted if it exists 2025-09-09 23:02:47 -04:00
README.md added instruction to download firefox dependencies 2025-09-09 23:36:35 -04:00
requirements.txt added script to optimize font files (result is in new directory /prod), fixed indent in home page and made bullet characters hidden from accessibility tools 2025-09-09 20:28:10 -04:00

this is the git repo for my personal website :3 ( hosted at qhri.net )

thankies to Aylam for helping me improve my website <3

the content of the website (and this git repo) is licensed under cc-by-nc-sa-4.0, with the following exceptions:

production environment setup

these instructions are for running prod.py to generate the folder to be used for hosting in production . src and prod should look identical in the browser and something is wrong if they don't

make a virtual environment (try python3, python3.13, python3.12, etc. instead of python if that doesnt work)

python -m venv venv

enter the venv and install dependencies (use activate.fish, activate.csh, or Activate.ps1 if not using bash)

. venv/bin/activate
pip install -r requirements.txt

to generate prod/, enter the venv and run:

python prod.py

important note

the selenium package is used to run a headless firefox session, but some systems may be missing dependencies that are required for this to work. if running prod.py gives the error selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 255, you are most likely missing necessary dependencies

the easiest way to install these dependencies is to install firefox via your distro's package manager (some distros, namely debian, may only have firefox-esr available by default. this also works)