{"id":20209955,"url":"https://github.com/bencoveney/super-auto-pets-db","last_synced_at":"2025-06-20T18:37:37.456Z","repository":{"id":37027096,"uuid":"415453961","full_name":"bencoveney/super-auto-pets-db","owner":"bencoveney","description":"This database website is an un-official guide and reference for the pets, food and stats from the game Super Auto Pets.","archived":false,"fork":false,"pushed_at":"2022-07-21T00:22:29.000Z","size":13589,"stargazers_count":45,"open_issues_count":19,"forks_count":14,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-10T13:41:25.302Z","etag":null,"topics":["database","game","guide","reference","super-auto-pets"],"latest_commit_sha":null,"homepage":"https://superauto.pet/","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/bencoveney.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}},"created_at":"2021-10-10T00:49:36.000Z","updated_at":"2025-02-27T00:27:44.000Z","dependencies_parsed_at":"2022-08-08T19:01:01.449Z","dependency_job_id":null,"html_url":"https://github.com/bencoveney/super-auto-pets-db","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bencoveney/super-auto-pets-db","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencoveney%2Fsuper-auto-pets-db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencoveney%2Fsuper-auto-pets-db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencoveney%2Fsuper-auto-pets-db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencoveney%2Fsuper-auto-pets-db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bencoveney","download_url":"https://codeload.github.com/bencoveney/super-auto-pets-db/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencoveney%2Fsuper-auto-pets-db/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260998563,"owners_count":23095138,"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":["database","game","guide","reference","super-auto-pets"],"created_at":"2024-11-14T05:43:33.585Z","updated_at":"2025-06-20T18:37:32.444Z","avatar_url":"https://github.com/bencoveney.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# super-auto-pets-db\n\nThis database website is an un-official guide and reference for the pets, food and stats from the game Super Auto Pets.\n\n## Usage\n\n### Prerequisites\n\n- Install node (I use `v14.16.0`, your mileage may vary on earlier versions).\n- Run `npm install`.\n\n### Building the project\n\nYou can use `npm run prod:build` or `npm run dev:build` to build the site. This will write the website to the `docs/` directory, for hosting through GitHub Pages.\n\nYou can use `npm run dev` to create a local development server.\n\n### Navigating the project\n\n- `docs/` - The output directory for the website files. Everything in this directory is generated from the `src/` files, you probably don't want to be changing these files directly.\n- `src/` - Code files used in the project\n  - `db/` - Files involved in building and populating the pets database.\n    - `food/` - Files defining all the food items in the game.\n    - `pets/` - Files defining all the pets items in the game.\n    - `statusEffects/` - Files defining all the status effects items in the game.\n  - `emoji/` - Git submodules for the emoji fonts that contain the animal icons.\n  - `web/` - Files involved in building the website.\n    - `assets/` - Static files and images\n    - `components/` - React components.\n    - `hooks/` - React hooks.\n    - `live/` - Entry point for the run-time code.\n    - `ssr/` - Entry point for static site rendering code.\n\n## API\n\nOne goal of this project is to have all pets and food described as data so that they can be used and consumed by other applications.\n\nFor this reason we are also building an `api.json` file that other applications can use and consume.\n\nThe JSON follows the following schema:\n\n```typescript\nexport type Pack = \"StandardPack\" | \"ExpansionPack1\";\n\nexport interface Pet {\n  // The name of the pet.\n  name: String;\n  // The tier the pet appears in.\n  tier: number;\n  // The standard starting attack points for the pet.\n  baseAttack: number;\n  // The standard starting health points for the pet.\n  baseHealth: number;\n  // Which packs the pet appears in.\n  packs?: Pack[];\n  // The ability the pet has at level 1.\n  level1Ability?: Ability;\n  // The ability the pet has at level 2.\n  level2Ability?: Ability;\n  // The ability the pet has at level 3.\n  level3Ability?: Ability;\n}\n\nexport interface Ability {\n  // The text description of the ability.\n  description: string;\n  // What behaviour (by the trigger entity) will initiate the ability.\n  trigger: Trigger;\n  // Which entity will trigger the effect.\n  triggeredBy: Target;\n  // What the effect does.\n  effect: Effect;\n}\n```\n\nThe purpose of the extra information on the `Ability` type is so that in the future we could do things like:\n\n- Generate more detailed/precise descriptions for what each ability does.\n- Allow filtering on things like \"pets that spawn other pets\".\n\n**This extra ability information is still subject to change as the data model becomes clearer.** Check out `src/database/index.ts` to get a better idea of how this information is structured.\n\n## Useful Resources\n\n- [Emojipedia, source of icons](https://emojipedia.org/)\n- [Steam Guide, All Pets and Food](https://steamcommunity.com/sharedfiles/filedetails/?id=2628954046)\n- [Background images](https://opengameart.org/content/backgrounds-3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencoveney%2Fsuper-auto-pets-db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbencoveney%2Fsuper-auto-pets-db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencoveney%2Fsuper-auto-pets-db/lists"}