No description
Find a file
Kumi a684c8b9df
Some checks failed
Build and Deploy Static Site / build (push) Has been cancelled
feat: add built-in HTTP server to preview static site
Introduced a new option `--serve` in `main.py` to provide an HTTP server for previewing the static site. Updated README with usage instructions. This enhancement allows users to quickly view the site on localhost without manually opening the `index.html` file.

Addresses usability improvements for local development.
2024-07-10 09:37:55 +02:00
.forgejo/workflows feat(build): add dev flag to static site generation 2024-07-01 10:47:28 +02:00
.vscode feat: add production debug config and enhance data handling 2024-07-01 07:04:47 +02:00
assets feat: add books icon and update service icon reference 2024-07-07 13:16:30 +02:00
contrib feat: Add uWSGI config for privatecoffee-dev 2024-06-03 08:33:31 +02:00
data feat(services): update Matrix service descriptions and links 2024-07-10 08:27:51 +02:00
helpers feat: add production debug config and enhance data handling 2024-07-01 07:04:47 +02:00
templates feat: add filter to convert month number to name 2024-07-01 12:06:30 +02:00
.gitignore feat: convert Flask app to static site generator 2024-07-01 09:56:04 +02:00
LICENSE Add LICENSE 2023-03-09 17:26:44 +00:00
main.py feat: add built-in HTTP server to preview static site 2024-07-10 09:37:55 +02:00
README.md feat: add built-in HTTP server to preview static site 2024-07-10 09:37:55 +02:00
requirements.txt chore: remove Flask from requirements 2024-07-01 10:59:34 +02:00

Private.coffee Website

Support Private.coffee!

This is the source code for the Private.coffee website.

It is a simple Jinja2 static website generator that compiles the templates in the templates directory in conjunction with the JSON files in the data directory to generate the static HTML files in the build directory.

Development

To run the website locally, you will need to have Python 3 installed. Then, you can install the dependencies and run the website with the following commands:

pip install -r requirements.txt
python main.py

The website will be built into the build directory, and you can view it by opening the index.html file in your browser or using the included HTTP server (python main.py --serve).

License

This project is licensed under the MIT License - see the LICENSE file for details.

Attribution

This website is built using the Bootstrap framework and Phosphor Icons.