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 c61319e9a4 | 2 years ago | |
---|---|---|
img | 2 years ago | |
static | 2 years ago | |
templates | 2 years ago | |
txt | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
cover.png | 2 years ago | |
main.py | 2 years ago | |
prefix.py | 2 years ago | |
requirements.txt | 2 years ago | |
update.sh | 2 years ago |
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.