{"id":20318195,"url":"https://github.com/deadcoder0904/btcpayserver-nextjs","last_synced_at":"2025-09-22T22:31:48.170Z","repository":{"id":215075004,"uuid":"737473951","full_name":"deadcoder0904/btcpayserver-nextjs","owner":"deadcoder0904","description":"btcpayserver example with nextjs","archived":false,"fork":false,"pushed_at":"2024-01-12T11:00:52.000Z","size":60,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-05T06:03:48.317Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deadcoder0904.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-31T06:55:38.000Z","updated_at":"2025-03-30T02:43:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"2fb3346a-0efb-4aa2-b76b-4f5bc31a7298","html_url":"https://github.com/deadcoder0904/btcpayserver-nextjs","commit_stats":null,"previous_names":["deadcoder0904/btcpayserver-nextjs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deadcoder0904/btcpayserver-nextjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadcoder0904%2Fbtcpayserver-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadcoder0904%2Fbtcpayserver-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadcoder0904%2Fbtcpayserver-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadcoder0904%2Fbtcpayserver-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadcoder0904","download_url":"https://codeload.github.com/deadcoder0904/btcpayserver-nextjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadcoder0904%2Fbtcpayserver-nextjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276487270,"owners_count":25651132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-22T02:00:08.972Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T18:38:27.261Z","updated_at":"2025-09-22T22:31:47.933Z","avatar_url":"https://github.com/deadcoder0904.png","language":"TypeScript","readme":"## btcpayserver-nextjs\n\n## Usage\n\nInstall [Node.js](https://nodejs.org/) and [pnpm](https://pnpm.io/).\n\nUse [clovyr.app](https://clovyr.app/)'s free plan (7-day free trial) for [testing BTCPayServer](https://clovyr.app/apps/btcpayserver). Or maybe don't as Clovyr doesn't update BTCPayServer often. Use Voltage Cloud only even for testing because I had a webhook error as Clovyr was using old BTCPayServer version. Or use [kyun host](https://kyun.host) to deploy your own BTCPayServer on a Linux VPS for $15/month.\n\nAfter testing, you can use Lunanode or [Voltage Cloud's hosted BTCPayServer](https://www.youtube.com/playlist?list=PLuMtKGSqizH2sxmKdy52gdbqSVKkyLX-t) Plan for $8/month or buy a VPS from Kyun Host ($16/month) to self-host it yourself using [btcpayserver-docker](https://github.com/btcpayserver/btcpayserver-docker).\n\nUse [Sparrow Wallet](https://bitcoiner.guide/sparrow/) to test Bitcoin Payments using [testnet](https://www.youtube.com/watch?v=7JJkLW4SHKQ) with [bitcoin testnet faucet](https://coinfaucet.eu/en/btc-testnet/).\n\n### .env.development\n\n```bash\nNODE_ENV=development\nNEXT_PUBLIC_BASE_URL=http://localhost:3000\n\n# BTCPayServer Testnet Keys\n# Go to `Account \u003e Manage Account \u003e API Keys under Account Settings \u003e Generate API Key \u003e Give Permissions btcpay.store.canviewinvoices \u0026 btcpay.store.cancreateinvoice`\nBTCPAY_API_KEY=xxxx\n# Root URL in Web Browser suffixed with `/api/v1`\nBTCPAY_URL=\u003chttps-base-url-of-hosted-btcpayserver\u003e/api/v1\n# Create Store (or select already existing Store) \u0026 go to `Settings` to find `Store ID` under `Store Settings \u003e General`\nBTCPAY_STORE_ID=xxxx\n# Under `Settings \u003e Store Settings \u003e Webhooks` =\u003e Payload URL = http://localhost:3000/api/btcpayserver/webhook (replace http://localhost:3000 with ngrok url as localhost (specifically, http) won't work with webhooks) \u0026 Events \u003e Send Me Everything\nBTCPAY_WEBHOOK_SECRET=xxxx\n\nNEXT_PUBLIC_EBOOK_PRICE=107\n\nNEXT_TELEMETRY_DISABLED=1\n```\n\nRun `pnpm dev` (or `pnpm turbo`) in one terminal and `pnpm ngrok:listen` in another terminal. `ngrok` is needed for webhooks as webhooks don't work on http, they need https.\n\n\u003e Make sure to set up [ngrok](https://ngrok.com) with [static domain](https://ngrok.com/blog-post/free-static-domains-ngrok-users).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadcoder0904%2Fbtcpayserver-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadcoder0904%2Fbtcpayserver-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadcoder0904%2Fbtcpayserver-nextjs/lists"}