aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 22a2b1ea998ed358fc595c454018e25cf3724699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--
.. File: README.md
.. Author: bgstack15
.. SPDX-License-Identifier: GPL-3.0-only
.. Startdate: 2024-07-06-7 07:51
.. Title: README for library_info project
.. Project: library_info
.. Purpose: Document the project
.. History:
.. Usage: Read it.
.. Reference: See heading References
.. Improve:
.. Dependencies:
-->

# README for `library_info` project

# Usage
Because this does not need to be a complex flask web app, it is designed as a cli tool. Run it in cron no more often than once a day.

    ./library_info_cli.py --output html > /var/www/html/library.html

## Serving with DataTables
To take advantage of [DataTables JS library](https://datatables.net/), you need to serve files in this directory layout:

    .
    * library.html
    | -- DataTables
         |-- datatables.min.css
         `-- datatables.min.js

# Design notes
Columns for items checked out:
* title
* format
* picture
* barcode
* due date
* possible renewal date
* how many times renewed already
* when checked out

plugin-based, so I can write a plugins/aspen.py with some standard format output.

# Improvements
I still need to implement these features.

* add reservations for each library
bgstack15