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
2024-03-31 12:25:53 +02:00
library template for pdf and image upload 2024-03-31 12:25:53 +02:00
__init.py__ WIP uploadform, Up next is the CSV writer 2021-03-07 19:55:47 +01:00
.gitignore user login part 2 2024-03-30 12:00:47 +01: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 small fixed 2024-03-30 20:23:24 +01:00
requirements.txt new pip freeze 2024-03-30 12:06:43 +01:00
setup.py sort and format 2023-12-03 14:19:53 +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 it can be 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
  • uploadable pdfs
  • upon boot check for images of the book otherwise extract front page of pdfs
  • remove varia library specific code
  • implement openlibrary ISBN to book in libarary software
  • openreads ability to import this csv file
  • maybe also GoodReads, BookWyrm