The worst Your Nectar Prices manager ever https://pollen.squarebowl.club
  • Python 50.6%
  • JavaScript 24%
  • HTML 13.7%
  • CSS 11.7%
Find a file
2026-04-10 13:40:47 +01:00
pollen make codebase less ass (#7) 2026-04-05 16:48:08 -04:00
.gitignore readme, gitignore tweak 2026-04-10 13:40:47 +01:00
config.example.json clarify setup instructions and remove config footguns 2026-04-03 10:08:13 +01:00
pyproject.toml make codebase less ass (#7) 2026-04-05 16:48:08 -04:00
README.md readme, gitignore tweak 2026-04-10 13:40:47 +01:00

pollen

Server to keep track of Your Nectar Prices for multiple Nectar cards. Also shows the card's barcode for use with SmartShop.

Low quality software, do not touch, do not ask.

setup

git clone https://git.squarebowl.club/plate/pollen
cd pollen
python -m venv venv
source venv/bin/activate
pip install .

# using waitress causes the instance dir to move
# here for some reason. unsure why
mkdir -p venv/var/pollen-instance
# don't skip this or cli commands will break.
ln -s venv/var/pollen-instance instance

sed -e "s/REPLACE_KEY/$(openssl rand -hex 64)/" \
	-e "s/REPLACE_REG/$(openssl rand -hex 5)/" \
	config.example.json > instance/config.json
flask --app pollen init-db
flask --app pollen create-user username password
waitress-serve pollen:app