{"id":30183010,"url":"https://github.com/kylefox/todos","last_synced_at":"2025-08-12T10:36:11.894Z","repository":{"id":298420765,"uuid":"999915903","full_name":"kylefox/todos","owner":"kylefox","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-29T23:10:17.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-30T00:56:36.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/kylefox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-06-11T01:56:17.000Z","updated_at":"2025-07-29T23:10:20.000Z","dependencies_parsed_at":"2025-06-11T03:27:51.350Z","dependency_job_id":"9c20480b-78ec-4d83-b96c-0d2f25246713","html_url":"https://github.com/kylefox/todos","commit_stats":null,"previous_names":["kylefox/todos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kylefox/todos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylefox%2Ftodos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylefox%2Ftodos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylefox%2Ftodos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylefox%2Ftodos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kylefox","download_url":"https://codeload.github.com/kylefox/todos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kylefox%2Ftodos/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270047130,"owners_count":24518047,"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-08-12T02:00:09.011Z","response_time":80,"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":[],"created_at":"2025-08-12T10:36:09.599Z","updated_at":"2025-08-12T10:36:11.878Z","avatar_url":"https://github.com/kylefox.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Todos - Rails Application\n\nA modern Rails 8.0.2 application for managing todos.\n\n## Prerequisites\n\n- macOS (tested on macOS 15.5)\n- [Homebrew](https://brew.sh/)\n- [mise](https://mise.jdx.dev/) - for Ruby and PostgreSQL version management\n\n## Setup\n\n### 1. Install mise\n\n```bash\nbrew install mise\n```\n\n### 2. Install PostgreSQL dependencies\n\nPostgreSQL requires several Homebrew packages to compile successfully:\n\n```bash\nbrew install icu4c openssl@3 ossp-uuid readline zlib\n```\n\n### 3. Clone and setup the project\n\n```bash\ngit clone \u003crepository-url\u003e\ncd todos\n```\n\n### 4. Install Ruby and PostgreSQL\n\nThe project uses mise to manage tool versions. Simply run:\n\n```bash\nmise install\n```\n\nThis will install:\n- Ruby 3.4.4\n- PostgreSQL 17.5\n\n**Note on PostgreSQL installation**: If the PostgreSQL installation fails with missing library errors, you may need to set environment variables to help it find the Homebrew dependencies:\n\n```bash\nLDFLAGS=\"-L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/icu4c@77/lib -L/opt/homebrew/opt/ossp-uuid/lib\" \\\nCPPFLAGS=\"-I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/icu4c@77/include -I/opt/homebrew/opt/ossp-uuid/include\" \\\nPKG_CONFIG_PATH=\"/opt/homebrew/opt/openssl@3/lib/pkgconfig:/opt/homebrew/opt/icu4c@77/lib/pkgconfig\" \\\nmise install postgres@latest\n```\n\n### 5. Setup PostgreSQL\n\nAfter PostgreSQL is installed, you need to create a database user:\n\n```bash\n# Create a superuser role with your username\nmise exec postgres -- psql -U postgres -c \"CREATE ROLE $USER WITH SUPERUSER LOGIN;\"\n\n# Create a database with your username\nmise exec postgres -- createdb $USER\n```\n\n### 6. Install Ruby dependencies\n\n```bash\nbundle install\n```\n\n### 7. Setup the database\n\n```bash\nbin/rails db:create\nbin/rails db:migrate\nbin/rails db:seed  # if you have seed data\n```\n\n## Running the Application\n\nStart the development server and Tailwind CSS watcher:\n\n```bash\nbin/dev\n```\n\nVisit http://localhost:3000\n\n## Development Commands\n\n- `bin/rails console` - Interactive Rails console\n- `bin/rails db:migrate` - Run database migrations\n- `bin/rails spec` - Run RSpec test suite\n- `bin/rubocop` - Run Ruby style checks\n- `bin/brakeman` - Run security vulnerability scanner\n\n## Useful MCP Servers\n\n[PostgreSQL](https://www.npmjs.com/package/@modelcontextprotocol/server-postgres)\n\n```bash\nclaude mcp add postgres -- npx -y @modelcontextprotocol/server-postgres postgresql://127.0.0.1/todos_development\n```\n\n[Puppeteer](https://www.npmjs.com/package/@modelcontextprotocol/server-puppeteer)\n\n```bash\nclaude mcp add puppeteer -- npx -y @modelcontextprotocol/server-puppeteer\n```\n\n## Architecture\n\nThis Rails 8.0.2 application uses:\n- **Import Maps** for JavaScript (no bundling required)\n- **Stimulus** for JavaScript behavior\n- **Turbo** for SPA-like navigation and real-time updates\n- **Tailwind CSS** for styling\n- **PostgreSQL** for the database\n- **Solid Cache/Queue/Cable** (database-backed, no Redis needed)\n- **RSpec** with comprehensive test suite (47 tests)\n\n## Troubleshooting\n\n### PostgreSQL connection issues\n\nIf you get \"role does not exist\" errors, ensure you've created the database user as shown in step 5.\n\n### Mise activation\n\nThe `.tool-versions` file ensures the correct Ruby and PostgreSQL versions are activated when you enter the project directory. If tools aren't activated automatically, run:\n\n```bash\nmise trust\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylefox%2Ftodos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkylefox%2Ftodos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkylefox%2Ftodos/lists"}