This is a reusable plain version the varia library website. You can host your own website of books using just a simple csv file
Go to file
2023-11-26 17:52:21 +01:00
library large breaking update 2023-11-26 17:52:21 +01:00
__init.py__ WIP uploadform, Up next is the CSV writer 2021-03-07 19:55:47 +01:00
.gitignore search the library 2023-07-12 21:09:22 +02:00
makefile Add target 2021-05-03 16:55:38 +02:00
pyproject.toml moving towards settings.toml for config 2023-11-15 20:19:07 +01:00
README.md Update 'README.md' 2023-11-24 12:38:06 +01:00
requirements.txt updated pip requirements 2023-07-14 21:17:28 +02:00
setup.py large breaking update 2023-11-26 17:52:21 +01:00

csv-library-website

Work in progress: this is a simple flask application that turns a csv file into a website. originally used to show books like in the Varia Library Website.. but can me used for any collection described in the csv file

Hacking

$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt

Or run make setup.

$ cd library && python page.py

Or run make.

readme driven development

  • add regular login instead of a secret key
  • have a settings file for the application
  • downloadable pdfs
  • upon boot check for images of the book otherwise extract front page of pdfs
  • remove varia library specific code