{"id":20068802,"url":"https://github.com/dotangad/sudocrypt","last_synced_at":"2025-07-25T23:41:06.314Z","repository":{"id":111419265,"uuid":"316395678","full_name":"dotangad/sudocrypt","owner":"dotangad","description":"Sudocrypt v10.0: A map-based text adventure.","archived":false,"fork":false,"pushed_at":"2020-11-27T10:22:58.000Z","size":807,"stargazers_count":41,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T03:11:42.851Z","etag":null,"topics":["javascript","next-auth","nextjs","nodejs","prisma","react"],"latest_commit_sha":null,"homepage":"https://sudocrypt.com","language":"JavaScript","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/dotangad.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":"2020-11-27T03:59:32.000Z","updated_at":"2024-01-04T16:52:36.000Z","dependencies_parsed_at":"2023-03-09T01:15:32.291Z","dependency_job_id":null,"html_url":"https://github.com/dotangad/sudocrypt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dotangad/sudocrypt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotangad%2Fsudocrypt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotangad%2Fsudocrypt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotangad%2Fsudocrypt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotangad%2Fsudocrypt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotangad","download_url":"https://codeload.github.com/dotangad/sudocrypt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotangad%2Fsudocrypt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265560099,"owners_count":23788130,"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","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":["javascript","next-auth","nextjs","nodejs","prisma","react"],"created_at":"2024-11-13T14:09:23.161Z","updated_at":"2025-07-17T02:11:00.471Z","avatar_url":"https://github.com/dotangad.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sudocrypt 2020\n\nPlatform for Sudocrypt 2020, a map-based text adventure. Built with Next.js,\nnext-auth, Prisma and MySQL.\n\n## Setup\n- Install `mysql` and `node`.\n- Clone the repositories and install dependencies.\n```sh\ngit clone https://github.com/dotangad/sudocrypt\ncd sudocrypt\nyarn\n```\n- Go over to the [Discord dev portal](https://discord.com/developers) and create an app. Add `https://localhost:3000/api/auth/callback/discord` as a valid redirect URI and copy the client ID and secret.\n- Fill out the `.env.local` file with the following values.\n```\nDATABASE_URL=                         # MySQL connection URL\nAUTH_SECRET=                          # Random string for authentication\nNEXTAUTH_URL=\"http://localhost:3000\"  # URL where your app is running (this is used to generate the callback URL by next-auth)\nDISCORD_CLIENT_ID=\nDISCORD_CLIENT_SECRET=\n```\n- Run database migrations.\n```\nDATABASE_URL=\u003cyour database url\u003e yarn prisma migrate up --experimental\n```\n- Start the app.\n```\nnpm run dev\n```\n- You should have a local version of Sudocrypt v10.0 at `https://localhost:3000` 🎉.\n\n## TODO\n- [x] Command handler and TUI\n- [x] OpenLevel and answering\n- [x] Movement commands\n- [x] Level points\n- [x] Teleport functionality\n- [x] Leaderboard\n- [x] Admin prop on UserMeta\n- [x] Exun prop on UserMeta\n- [x] Admin pages\n- [x] DQ functionality\n- [x] Leaderboard blanks\n- [x] Submit empty command\n- [x] Locked levels\n- [x] Answer flagging\n- [x] Scrolling\n- [x] Streamline status command\n- [x] Remove leaderboard - keep only rank in the `me` command\n- [x] Add map to website\n- [x] Explainer doc\n- [x] Add levels\n- [x] Move to prod\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotangad%2Fsudocrypt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotangad%2Fsudocrypt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotangad%2Fsudocrypt/lists"}