This is a reusable plain version the varia library website. You can host your own website of books using just a simple csv file
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
crunk e779a764b4 added option to download pdf 11 months ago
library added option to download pdf 11 months ago
.gitignore placeholder files 11 months ago
README.md end of day README update 11 months ago
__init.py__ WIP uploadform, Up next is the CSV writer 4 years ago
makefile Add target 4 years ago
pyproject.toml moving towards settings.toml for config 11 months ago
requirements.txt updated pip requirements 1 year ago
setup.py large breaking update 11 months ago

README.md

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.

major changes

  • currently this software is broken.

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