pull down to refresh
0 sats \ 4 replies \ @deleted231216 OP 26 Feb 2023 \ on: Nostr Market: Simple Bitcoin classifieds for Nostr via the #nostrmarket hashtag nostr
Nostr Market simply fetches and displays posts with the hashtag #nostrmarket. No custom post types, payment processing, escrow, etc.
The source code is public domain: https://codeberg.org/Anarkio/nostrmarket/ Feel free to adapt it for your own projects (e.g. different hashtag, better UI, more features).
I made something based on your work: Pricestr.
reply
Looks good. :) Happy to see you were able to make use of my (messy) JavaScript code.
reply
Buidl!
reply
Added a regex to scrape the price. If a listing includes the price in BTC or sats, the price will display in a box.
It would also be possible to add a product form + regex to scrape the attributes (price, location, category, etc.). But I want to keep it simple right now.
reply