{"id":15691755,"url":"https://github.com/c-ehrlich/catmash","last_synced_at":"2025-10-31T11:11:50.498Z","repository":{"id":40584244,"uuid":"507664461","full_name":"c-ehrlich/catmash","owner":"c-ehrlich","description":"tRPC test \u0026 precursor to a billion dollar social cat network","archived":false,"fork":false,"pushed_at":"2023-03-28T16:39:44.000Z","size":223,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T01:15:51.826Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://catmash-legacy.c-ehrlich.dev","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/c-ehrlich.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":"2022-06-26T19:21:12.000Z","updated_at":"2023-09-24T11:24:40.000Z","dependencies_parsed_at":"2024-10-23T23:09:35.058Z","dependency_job_id":"cafdb3a1-eb5f-4d89-baf7-e87868d05eb9","html_url":"https://github.com/c-ehrlich/catmash","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/c-ehrlich%2Fcatmash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Fcatmash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Fcatmash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c-ehrlich%2Fcatmash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c-ehrlich","download_url":"https://codeload.github.com/c-ehrlich/catmash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252978810,"owners_count":21834920,"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":[],"created_at":"2024-10-03T18:24:19.779Z","updated_at":"2025-10-31T11:11:45.476Z","avatar_url":"https://github.com/c-ehrlich.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **The demo currently doesn't work because I stopped paying for AWS which the database was hosted on. Will deploy somewhere else over the holidays.**\n\n# CatMash\n\n[Live Demo](https://catmash.c-ehrlich.dev)\n\n![CatMash Screenshot](https://user-images.githubusercontent.com/8353666/175953666-74e94b19-8bcf-4227-8eb4-607e1b6fa00e.png)\n\n## What is this?\nHave you ever wanted to rank 11,000 cat pictures by cuteness? Of course you have. That's what we're doing here.\n\nThis is an app bootstrapped according to the [init.tips](https://init.tips) stack, also known as the T3-Stack. Other than answering one of life's biggest questions, the main point of building this was to create a small project using full-stack Next.JS with tRPC.\n\n## Installation\nInstall dependencies\n```\npnpm i\n```\n\nCreate a Postgres database. You can use a local database for dev. For deployment, the Railway.app should be able to run the site for free indefinitely as long as it doesn't miraculously become incredibly popular.\n\nRegister an API Key with [TheCatApi](https://docs.thecatapi.com/).\n\nCreate a `.env` file, based on `.env-example`.\n\nCreate the database schema\n```\nnpx prisma db push\n```\n\nRun the database population script. You might need to temporarily change the `module` to `common-js` in `tsconfig.json` for the script to work.\n```\npnpm populatedb\n```\n\nStart the development server\n```\npnpm dev\n```\n\n## Deployment\nAs this app is built in full-stack Next.JS, the easiest way to deploy it is on Vercel. Create an app on Vercel, point it at a repo, set environment variables, and you should be good to go. If you're using a different database than you did before, you will need to create the schema and populate the database again, see above.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-ehrlich%2Fcatmash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc-ehrlich%2Fcatmash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc-ehrlich%2Fcatmash/lists"}