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 06206a26b5 round 10 1 year ago
img ppp3 2 years ago
static plan and list' 2 years ago
templates readme 2 years ago
txt round 10 1 year ago
.gitignore env 2 years ago
README.md brainstorm list 2 years ago
cover.png init 2 years ago
main.py readme 2 years ago
prefix.py prefix 2 years ago
requirements.txt env 2 years ago
update.sh make update exec 2 years ago

README.md

compiling the list

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.