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 13effa5372 Update 'README.md' 8 months ago
library template for pdf and image upload 8 months ago
.gitignore user login part 2 8 months ago
README.md Update 'README.md' 8 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 1 year ago
requirements.txt new pip freeze 8 months ago
setup.py sort and format 1 year 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 the physical books like in the Varia Library Website.. but it can be used for any collection of books, digital or physical as 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
  • remove varia library specific code
  • downloadable pdfs
  • mail for forgotten passwords tested/
  • flask-oidc for keycloak login
  • refactor csvparser into library and publication classes
  • uploadable pdfs
  • upon boot check for images of the book otherwise extract front page of pdfs
  • implement openlibrary ISBN to book in libarary software
  • openreads ability to import this csv file
  • maybe also GoodReads, BookWyrm