{"id":47825794,"url":"https://github.com/daugaard/rulesbot","last_synced_at":"2026-04-03T19:39:55.668Z","repository":{"id":310582150,"uuid":"676771575","full_name":"daugaard/rulesbot","owner":"daugaard","description":"AI powered boardgame rules chat bot powered by LLM.","archived":false,"fork":false,"pushed_at":"2025-10-15T14:32:52.000Z","size":49552,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-16T11:39:34.587Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rulesbot.ai/","language":"CSS","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/daugaard.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"agents.md","dco":null,"cla":null}},"created_at":"2023-08-10T01:30:39.000Z","updated_at":"2025-10-15T14:32:57.000Z","dependencies_parsed_at":"2025-10-03T02:35:23.744Z","dependency_job_id":null,"html_url":"https://github.com/daugaard/rulesbot","commit_stats":null,"previous_names":["daugaard/rulesbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/daugaard/rulesbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daugaard%2Frulesbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daugaard%2Frulesbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daugaard%2Frulesbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daugaard%2Frulesbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daugaard","download_url":"https://codeload.github.com/daugaard/rulesbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daugaard%2Frulesbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31373434,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"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":[],"created_at":"2026-04-03T19:39:55.069Z","updated_at":"2026-04-03T19:39:55.658Z","avatar_url":"https://github.com/daugaard.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Test](https://github.com/daugaard/rulesbot/actions/workflows/test.yml/badge.svg)](https://github.com/daugaard/rulesbot/actions/workflows/test.yml)\n\n# RulesBot\nAI powered boardgame rules bot.\n\n\n## Development\n### Setup\n\n```\npoetry install\n\npoetry shell # start a shell so you don't have to poetry run everything (optional)\n\npython manage.py migrate\npython manage.py createsuperuser\n```\n\n### Run\n\n```\npoetry run python manage.py runserver\n```\n\n### Shell\n\n```\npoetry run python manage.py shell\n```\n\n### Tests\n\n```\npoetry run coverage run --source='.' manage.py test\npoetry run coverage report\n```\n\n## Production\nAll production deployment and resource management is done with Kamal.\n\nDeploy a new version:\n```\nkamal deploy\n```\n\n### Run a production shell\n\nLogin to the server and start a docker container with a shell command:\n```\nkamal shell\n```\n\nTo start a django shell:\n```\nkamal console\n```\n\n### Database backup\nDatabases are backed up daily to an S3 bucket, and retained for 30 days.\n\nYou can also create a manual backup with:\n```\nkamal accessory exec db_backup \"sh backup.sh\"\n```\n\nYou can restore the latest backup with:\n```\nkamal accessory exec db_backup \"sh restore.sh\"\n```\nOr a specific backup file:\n```\nkamal accessory exec db_backup \"sh restore.sh \u003cbackup-timestamp\u003e\"\n```\n\n\n### Cleanup empty chats\n\n```\nfrom chat.models import ChatSession\nempty_sessions = ChatSession.no_user_no_messages()\nfor session in empty_sessions:\n  session.delete()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaugaard%2Frulesbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaugaard%2Frulesbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaugaard%2Frulesbot/lists"}