{"id":15696243,"url":"https://github.com/o4epegb/dcss-stats","last_synced_at":"2025-05-08T23:21:27.767Z","repository":{"id":56241384,"uuid":"391188817","full_name":"O4epegb/dcss-stats","owner":"O4epegb","description":"Player and game statistics for open source roguelike game Dungeon Crawl Stone Soup Online","archived":false,"fork":false,"pushed_at":"2025-05-05T11:22:12.000Z","size":7421,"stargazers_count":13,"open_issues_count":12,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T12:32:40.855Z","etag":null,"topics":["dcss","dungeon-crawl-stone-soup","good-first-issue","roguelike"],"latest_commit_sha":null,"homepage":"https://dcss-stats.com","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/O4epegb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":["O4epegb"],"patreon":null,"ko_fi":"totalnoob","custom":["https://www.buymeacoffee.com/totalnoob"]}},"created_at":"2021-07-30T21:11:49.000Z","updated_at":"2025-05-05T11:22:15.000Z","dependencies_parsed_at":"2024-04-15T10:44:03.423Z","dependency_job_id":"77999a07-997c-493f-af7c-c8514b48273b","html_url":"https://github.com/O4epegb/dcss-stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O4epegb%2Fdcss-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O4epegb%2Fdcss-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O4epegb%2Fdcss-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O4epegb%2Fdcss-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/O4epegb","download_url":"https://codeload.github.com/O4epegb/dcss-stats/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253161459,"owners_count":21863745,"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":["dcss","dungeon-crawl-stone-soup","good-first-issue","roguelike"],"created_at":"2024-10-03T19:08:29.958Z","updated_at":"2025-05-08T23:21:27.748Z","avatar_url":"https://github.com/O4epegb.png","language":"TypeScript","funding_links":["https://github.com/sponsors/O4epegb","https://ko-fi.com/totalnoob","https://www.buymeacoffee.com/totalnoob"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"128\" height=\"128\" src=\"./apps/web/public/logo-256.png\"\u003e\n\u003c/p\u003e\n\n# [DCSS Stats](https://dcss-stats.com/)\n\n[Dungeon Crawl Stone Soup](https://crawl.develz.org/) statistics app.\n\n\u003ca href=\"https://www.buymeacoffee.com/totalnoob\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" alt=\"Buy Me A Coffee\" style=\"height: 60px !important;width: 217px !important;\" \u003e\u003c/a\u003e\n\n## Prerequisites\n\n- [Node.js](https://nodejs.org/)\n- [Yarn](https://yarnpkg.com/)\n- (for the BE) [Docker Compose](https://docs.docker.com/compose/) or local Postgres database\n\n## Bootstrap Local Development\n\n```sh\nyarn install \u0026\u0026 yarn bootstrap\n```\n\nIt will install all npm dependencies, run Postgres with Docker Compose and create seeded database.\n\n## Run Development Mode\n\n```sh\nyarn dev\n```\n\nIt will start both frontend and backend in development mode.\n\n## Install Packages and Update Versions\n\nThis is a `yarn` monorepo, so you need to install packages in the root folder with:\n\n```sh\nyarn install\n```\n\nUse `yarn` to install, other package managers are not recommended.\n\nIf you want to update package versions use:\n\n```sh\nyarn upgrade-interactive\n```\n\n## Frontend\n\nIf you only want to run frontend, create `.env.local` file in `apps/web` folder if it doesn't exist and add:\n\n```yml\nNEXT_PUBLIC_ROOT_URL=\"https://dcss-stats.com\"\n```\n\nThen run frontend with:\n\n```sh\nyarn dev:web\n```\n\n## Backend\n\nStart Postgres with Docker Compose:\n\n```sh\nyarn workspace @dcss-stats/api compose\n```\n\nIf you want to run backend with different Postgres database, you can change `DATABASE_URL` env variable in `.env.local` file (create it if it doesn't exist in `apps/api` folder):\n\n```yml\nDATABASE_URL='postgresql://postgres:postgres@localhost:5432/dcssstats'\n```\n\nThen you can run migrations and seed the database:\n\n```sh\nyarn migrate\n```\n\nRun only the backend with:\n\n```sh\nyarn dev:api\n```\n\n## Environment Variables\n\nIf you want to change some environment variables only for your local development then you need to make a `.env.local` file. Check other `.env*` files or search for `NEXT_PUBLIC_` to see what variables are being used.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo4epegb%2Fdcss-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fo4epegb%2Fdcss-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo4epegb%2Fdcss-stats/lists"}