{"id":28540600,"url":"https://github.com/jedmund/hensei-api","last_synced_at":"2026-02-17T08:03:43.584Z","repository":{"id":42199369,"uuid":"295581709","full_name":"jedmund/hensei-api","owner":"jedmund","description":"An API to help Granblue Fantasy players create and share teams and strategies.","archived":false,"fork":false,"pushed_at":"2026-01-05T10:39:32.000Z","size":4791,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-06T01:12:54.133Z","etag":null,"topics":["database","gaming","granblue","granbluefantasy","ruby"],"latest_commit_sha":null,"homepage":"https://granblue.team","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jedmund.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-15T01:31:00.000Z","updated_at":"2025-03-31T04:08:08.000Z","dependencies_parsed_at":"2025-01-20T12:30:53.894Z","dependency_job_id":"1cecffb8-5ebe-472f-9033-0b03fe41c6be","html_url":"https://github.com/jedmund/hensei-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jedmund/hensei-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedmund%2Fhensei-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedmund%2Fhensei-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedmund%2Fhensei-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedmund%2Fhensei-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jedmund","download_url":"https://codeload.github.com/jedmund/hensei-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedmund%2Fhensei-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29537271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T05:00:25.817Z","status":"ssl_error","status_checked_at":"2026-02-17T04:57:16.126Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["database","gaming","granblue","granbluefantasy","ruby"],"created_at":"2025-06-09T19:36:50.035Z","updated_at":"2026-02-17T08:03:43.562Z","avatar_url":"https://github.com/jedmund.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hensei API\n\n## Project Overview\n\nHensei is a Ruby on Rails API for managing Granblue Fantasy party configurations, providing comprehensive tools for team building, character management, and game data tracking.\n\n## Prerequisites\n\n- Ruby 3.3.7\n- Rails 8.0.1\n- PostgreSQL\n- AWS S3 Account (for image storage)\n\n## System Dependencies\n\n- Ruby version manager (rbenv or RVM recommended)\n- Bundler\n- PostgreSQL\n- Redis (for background jobs)\n- ImageMagick (for image processing)\n\n## Initial Setup\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/your-organization/hensei-api.git\ncd hensei-api\n```\n\n### 2. Install Ruby\n\nEnsure you have Ruby 3.3.7 installed. If using rbenv:\n\n```bash\nrbenv install 3.3.7\nrbenv local 3.3.7\n```\n\n### 3. Install Dependencies\n\n```bash\ngem install bundler\nbundle install\n```\n\n### 4. Database Configuration\n\n1. Ensure PostgreSQL is running\n2. Create the database configuration:\n\n```bash\nrails db:create\nrails db:migrate\n```\n\n### 5. AWS S3 Configuration\n\nHensei requires an AWS S3 bucket for storing images. Configure your credentials:\n\n```bash\nEDITOR=vim rails credentials:edit\n```\n\nAdd the following structure to your credentials:\n\n```yaml\naws:\n  s3:\n    bucket: your-bucket-name\n    access_key_id: your-access-key\n    secret_access_key: your-secret-key\n    region: your-aws-region\n```\n\n### 6. Run Initial Data Import (Optional)\n\n```bash\nrails data:import\n```\n\n### 7. Start the Server\n\n```bash\nrails server\n```\n\n## Environment Variables\n\nWhile most configurations use Rails credentials, you may need to set:\n\n- `DATABASE_URL`\n- `RAILS_MASTER_KEY`\n- `REDIS_URL`\n\n## Performance Considerations\n\n- Use Redis for caching\n- Background jobs managed by Sidekiq\n- Ensure PostgreSQL is optimized for full-text search\n\n## Security\n\n- Always use `rails credentials:edit` for sensitive information\n- Keep your `master.key` secure and out of version control\n- Regularly update dependencies\n\n## Deployment\n\nRecommended platforms:\n- Railway.app (We use this)i98-i\n- Heroku\n- DigitalOcean App Platform\n\nDeployment steps:\n1. Precompile assets: `rails assets:precompile`\n2. Run migrations: `rails db:migrate`\n3. Start the server with a production-ready web server like Puma\n\n## Troubleshooting\n\n- Ensure all credentials are correctly set\n- Check PostgreSQL and Redis connections\n- Verify AWS S3 bucket permissions\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0 (GPL-3.0-only) with additional non-commercial restrictions.\n\nKey points:\n- You are free to use and modify the software for non-commercial purposes\n- Any modifications must be shared under the same license\n- You must provide attribution to the original authors\n- No warranty is provided\n\nSee the LICENSE file for full details.\n\n## Contact\n\nFor support, please open an issue on the GitHub repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedmund%2Fhensei-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjedmund%2Fhensei-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedmund%2Fhensei-api/lists"}