Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tohrxyz/crypto-ticket-system
A set of tools for running an e-shop for event tickets using BTCPayServer
https://github.com/tohrxyz/crypto-ticket-system
Last synced: 1 day ago
JSON representation
A set of tools for running an e-shop for event tickets using BTCPayServer
- Host: GitHub
- URL: https://github.com/tohrxyz/crypto-ticket-system
- Owner: tohrxyz
- License: mit
- Created: 2023-09-14T19:50:44.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-14T23:43:34.000Z (about 1 year ago)
- Last Synced: 2023-09-15T15:56:43.217Z (about 1 year ago)
- Language: TypeScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crypto-ticket-system
A set of tools for running an e-shop for event tickets using BTCPayServer# Tools
## Extract
Extracting email and invoice id for a specific event from the whole json export of invoices from BTCPayServer
1. Go to your BTCPayServer, click on Invoices on the left sidebar, click export as json.
2. Select everything on the page using Ctrl + A
3. Copy it using Ctrl + C
4. Create a file `btc_pay_invoice_export.json` inside `inputData` folder
5. Paste the previously copied json into this newly created file.
6. Hit save.
7. Run
```sh
bun extract.ts
```The expected output after running this command is something like:
```
Successfully extracted {x} emails!
Output written to ./outputData/extracted_emails.json
```