{"id":24335533,"url":"https://github.com/viddem/ti-assistant-rs","last_synced_at":"2026-01-31T18:32:25.178Z","repository":{"id":203135713,"uuid":"708353706","full_name":"ViddeM/ti-assistant-rs","owner":"ViddeM","description":"Game assistant for the Twilight Imperium 4th Edition written in rust","archived":false,"fork":false,"pushed_at":"2026-01-28T23:33:10.000Z","size":108154,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-29T12:23:35.616Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ViddeM.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":"Roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-22T10:08:26.000Z","updated_at":"2025-12-17T18:58:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"7218bee4-945b-4234-8871-57ccf8ed25d3","html_url":"https://github.com/ViddeM/ti-assistant-rs","commit_stats":null,"previous_names":["viddem/ti-assistant-rs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ViddeM/ti-assistant-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViddeM%2Fti-assistant-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViddeM%2Fti-assistant-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViddeM%2Fti-assistant-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViddeM%2Fti-assistant-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ViddeM","download_url":"https://codeload.github.com/ViddeM/ti-assistant-rs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ViddeM%2Fti-assistant-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28949400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"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":["hacktoberfest"],"created_at":"2025-01-18T05:19:01.053Z","updated_at":"2026-01-31T18:32:25.150Z","avatar_url":"https://github.com/ViddeM.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Twilight Imperium 4th edition helper application\nAn application intended to be used alongside the Twilight Imperium 4th ed game.\n\n## Development\nHow to dev?\n\n### Setup DB\nRun `docker compose up` in the root directory of the project.\n\n### Run backend\n 1) Ensure that you have a `backend/.env` file, you can copy the `backend/.env.example` file to get reasonable default settings.\n 2) Enter the `backend/server` directory and run `cargo run` (note that the directory is relevant when using the `DEMO_GAMES_SKIP_DB` env variable is `false`)\n\n### Run frontend\n 1) Ensure that you have a `frontend/.env` file, you can copy the `frontend/.env.example` file to get reasonable default settings.\n 2) Download dependencies run `yarn` in the `frontend` directory.\n 3) Run frontend by running `yarn dev` in the `frontend` directory.\n\n### Notes on the backend\nThe backend uses a system of \"demo games\" both for manual and automated testing purposes. Such demo games are located in the `demo_games` directory and can be created using a CLI script in the `backend/demo_game_creator` (see \"Creating demo games\" below).\nIf the `VERIFY_DEMO_GAMES` env variable is set, all demo games will be replayed during compile-time to alert for breaking changes to the codebase.\nFurthermore if the `DEMO_GAMES_SKIP_DB` env variable is not set to `true`, the demo games will be inserted into the database upon startup, if the `OVERWRITE_DB_DEMO_GAMES` is also set then it will also reset those games to the state that they are stored in.\n \n### Creating demo games\nCreating a demo game is done by going to the `backend/demo_game_creator` directory and running `cargo run \u003cGAME_ID\u003e \u003cGAME_NAME\u003e` where the `GAME_ID` argument must be a game that exists in the database (a snapshot of which will become the demo game) and the `GAME_NAME` argument is a name that will identify the demo game. Note: this script requires the env variables `DATABASE_URL` and `DEMO_GAMES_DIR` to exist.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviddem%2Fti-assistant-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fviddem%2Fti-assistant-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fviddem%2Fti-assistant-rs/lists"}