GitXplorerGitXplorer
g

Super-Simple-Wishlist

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
b80cc3cf96e5dde483624bf392dd3a6df8329404

Update README.md

gghomasHudson committed 7 months ago
Verified
1bb4af2e18261b62cc5fc43f8a5b95ca2e23b3d3

Update README.md

gghomasHudson committed 7 months ago
Verified
1daced69ca2126d5e66032f130adaa69de46a83d

Update Dockerfile

gghomasHudson committed 2 years ago
Verified
d477828cf16ff15ab2b140a5cd33d5d516646a6f

Update app.py

gghomasHudson committed 2 years ago
Verified
ebabe505643691ae6e64e865a110ea90f6862c65

Delete example_list.txt

gghomasHudson committed 2 years ago
Verified
577211b94269234af7efb87e7277337d72ec95e6

Update Dockerfile

gghomasHudson committed 2 years ago

README

The README file for this repository.

Super Simple Wishlist

A really basic self-hosted wishlist app which renders a simple plaintext file of urls as a wishlist. Additionally, keeps track of when someone buys something for you.

Turns:

https://www.amazon.co.uk/Innovative-Designs-Mandalorian-Sticker-Stickers/dp/B087H4HZQ7
https://www.ikea.com/gb/en/p/markus-office-chair-vissle-dark-grey-30261152/
https://www.dell.com/en-uk/shop/laptops-2-in-1-pcs/xps-13-laptop/spd/xps-13-9340-laptop

into

wl

Setup

Docker-compose

Here's a basic docker-compose snippet:

version: "2.1"
services:
  supersimplewishlist:
    image: ghomashudson/supersimplewishlist
    container_name: supersimplewishlist
    volumes:
      - /path/to/wishlists:/usr/src/app/wishlists
      - /path/to/db.json:/usr/src/app/db.json
    ports:
      - 5000:5000
    restart: unless-stopped

Manually

  1. Install the python depenancies with pip install -r requirements.txt
  2. Run the flask app with flask run

How it Works

Fill the /wishlists directory with wishlist_name.txt files with one product url per line, e.g.

https://www.amazon.co.uk/Innovative-Designs-Mandalorian-Sticker-Stickers/dp/B087H4HZQ7
https://www.ikea.com/gb/en/p/markus-office-chair-vissle-dark-grey-30261152/
https://www.dell.com/en-uk/shop/laptop-computers-2-in-1-pcs/xps-13-9305/spd/xps-13-9305-laptop/cn93509sc11

An example example_list.txt has been provided. The products will appear in your wishlist in the same order as the txt file.

The wishlist can be viewed by going to SERVER_URL/wishlists/wishlist_name.txt.

It may take a few seconds to load the first time while the product details are grabbed. The product details along with the "Bought" status are saved in the db.json file. Item details are refreshed once a day in case of price changes.

Navigating to SERVER_URL/wishlists/wishlist_name.txt?exclude_purchased=1 will remove products that people have bought for you. Without this a prompt Someone may have purchased this item will appear, when clicking to prevent spoilers.