{"id":22291123,"url":"https://github.com/floffah/dndnotes","last_synced_at":"2025-07-28T23:32:12.646Z","repository":{"id":215166401,"uuid":"720882889","full_name":"Floffah/dndnotes","owner":"Floffah","description":"🗺️ Advanced DND note-taking webapp for both sides of the equation","archived":true,"fork":false,"pushed_at":"2024-08-08T15:34:30.000Z","size":12924,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T05:37:34.409Z","etag":null,"topics":["cms","discord","dungeons-and-dragons","embedded-app","notebook","webapp"],"latest_commit_sha":null,"homepage":"https://www.dndnotes.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Floffah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-11-19T21:53:25.000Z","updated_at":"2024-10-20T20:44:57.000Z","dependencies_parsed_at":"2024-01-12T21:02:08.653Z","dependency_job_id":"b6548f2c-2d92-4c20-9544-36218670483c","html_url":"https://github.com/Floffah/dndnotes","commit_stats":null,"previous_names":["floffah/dndnotes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Floffah/dndnotes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floffah%2Fdndnotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floffah%2Fdndnotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floffah%2Fdndnotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floffah%2Fdndnotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Floffah","download_url":"https://codeload.github.com/Floffah/dndnotes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Floffah%2Fdndnotes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267604302,"owners_count":24114521,"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-07-28T02:00:09.689Z","response_time":68,"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":["cms","discord","dungeons-and-dragons","embedded-app","notebook","webapp"],"created_at":"2024-12-03T17:15:44.913Z","updated_at":"2025-07-28T23:32:11.903Z","avatar_url":"https://github.com/Floffah.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DNDNotes\n\n## Development\n\n### Discord activity\n\n\u003e [!NOTE]\n\u003e Discord activity development is paused, this section is not necessary\n\nTo get tunnels set up for your discord activity, you need to do the following:\n\n```shell\nbrew install cloudflared # install cloudflare tunnel service\ncloudflared login # login to your cloudflare account - make sure to give it access to one of your domains here\n\ncloudflared tunnel create discord-activity # create a tunnel named dndnotes\ncloudflared tunnel route dns discord-activity dndatunnel.floffah.dev # replace domain with your own\n\ncloudflare tunnel create dndnotes-web # create a tunnel named dndnotes-web\ncloudflare tunnel route dns dndnotes-web dndnotestunnel.floffah.dev # replace domain with your own\n\nyarn dev # start the dndnotes web dev server (where the api is hosted) and the discord-activity frontend dev server\nyarn tunnel # start the cloudflare tunnels\n```\n\nThen link these domains to discord. In your developer dashboard, go to the \"URL Mappings\" tab and add the following mappings: (replace the domains with your own)\n- `/` - dndatunnel.floffah.dev\n- `/dndnotes` - dndnotestunnel.floffah.dev\n- `/icons` - api.iconify.design\n- `/pubnub` - ps.pndsn.com\n\n### Environment variables\n\n#### Web\n\n(Replace with correct values)\n\n```properties\nDISCORD_BOT_TOKEN=\"token\"\nDISCORD_CLIENT_SECRET=\"secret\"\nNEXT_PUBLIC_BASE_URL=\"https://dndnotes.app\" # no trailing slash\nNEXT_PUBLIC_DISCORD_CLIENT_ID=\"client id\"\nNEXT_PUBLIC_DISCORD_REDIRECT_URI=\"https://dndnotes.app/api/auth/callback/discord\"\nPLANETSCALE_DB_HOST=aws.connect.psdb.cloud\nPLANETSCALE_DB_USERNAME=username\nPLANETSCALE_DB_PASSWORD=pscale_pw_somepassword\nPLANETSCALE_DB=dndnotes\n```\n#### Server\n\nOnly requires credentials for a test database, should NOT be a database used for production or local testing as it will unpredictably wipe data.\n\n```properties\nTEST_DB_HOST=aws.connect.psdb.cloud\nTEST_DB_USERNAME=username\nTEST_DB_PASSWORD=pscale_pw_somepassword\nTEST_DB=dndnotes\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloffah%2Fdndnotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffloffah%2Fdndnotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffloffah%2Fdndnotes/lists"}