first attempt to write a list
https://hub.xpub.nl/soupboat/wlist/
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
km0 a2492bf624 | 2 years ago | |
---|---|---|
img | 2 years ago | |
static | 2 years ago | |
templates | ||
txt | 2 years ago | |
.gitignore | ||
README.md | ||
cover.png | ||
main.py | ||
prefix.py | ||
requirements.txt | ||
update.sh |
README.md
compiling the list
A small writing machine to experiment the list format. It's again web-to-print, it's again flask, it's again markdown, it's again it's again it's again. I'm 30% sorry.
Add your list
Add a new file in the txt
folder! The format is Markdown, so use the .md
format.
For example:
grocery.md
- Bread
- Milk
- ![A pic of eggs](img/eggs.jpg)
- Leek
Your list will appear in the homepage, using the filename as title.
How to develop
- Clone the repo
- Create a virtual environment
python3 -m venv venv
- Activate the virtual environment
source venv/bin/activate
- Install the dependencies
pip install -r requirements.txt
- Run the script
python main.py
It will open a browser window that renders the files from the txt
folder. You can put a new list in that directory. Put your images in the img
folder.