{"id":17213343,"url":"https://github.com/afup/hermes","last_synced_at":"2026-01-19T20:04:45.531Z","repository":{"id":239835169,"uuid":"777346153","full_name":"afup/hermes","owner":"afup","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-22T08:46:03.000Z","size":261,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-10-10T11:08:48.684Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/afup.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":"2024-03-25T17:17:48.000Z","updated_at":"2024-12-11T15:29:05.000Z","dependencies_parsed_at":"2024-05-21T10:23:20.654Z","dependency_job_id":null,"html_url":"https://github.com/afup/hermes","commit_stats":null,"previous_names":["afup/hermes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/afup/hermes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afup%2Fhermes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afup%2Fhermes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afup%2Fhermes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afup%2Fhermes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/afup","download_url":"https://codeload.github.com/afup/hermes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/afup%2Fhermes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28583644,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T19:46:29.903Z","status":"ssl_error","status_checked_at":"2026-01-19T19:45:54.560Z","response_time":67,"last_error":"SSL_read: 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":"2024-10-15T03:01:07.927Z","updated_at":"2026-01-19T20:04:45.526Z","avatar_url":"https://github.com/afup.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Hermes\n\nCarpooling Discord bot made for the AFUP events.\n\n## Getting Started\n\nYou will require:\n- `castor` (see [these instructions](https://github.com/jolicode/castor?tab=readme-ov-file#installation) for how to install)\n- a `.env.local` file in `app/` folder with:\n    - your Discord bot token (see [related documentation](https://discord.com/developers/docs/quick-start/getting-started#configuring-your-bot) for how to make and recover a bot token)\n    - your Discord user id (how to [get your Discord client id](https://www.alphr.com/discord-find-user-id/))\n\n```shell\napp/bin/console hermes:register\napp/bin/console hermes:event # will create the event you need\napp/bin/console hermes:bot\n```\n\nAnd the bot is running for your event ! 🚗\n\n## Available commands\n\n### Admin\n\nTheses commands are only allowed to users that are flagged as admin.\n\n- `/admin_add {user}` Add an user as admin for this bot\n- `/admin_remove {user}` Removes an user as admin for this bot\n\n## Contributing\n\nEveryone is free to contribute to this repository.\n\nPlease check coding style and phpstan before opening a pull request:\n```shell\ncastor tools:install # will install php-cs-fixer / phpstan\ncastor tools:cs-fix # will fix coding style\ncastor tools:cs-check # will check for coding style\ncastor tools:phpstan # will run static analysis\n```\n\n### Database\n\nYou'll need to run a local Postgres database.\nI recommend using Docker for this: `docker run -e POSTGRES_USER=afup -e POSTGRES_PASSWORD=p4ssw0rd --network host postgres:16.2`\n\n![Database overview](./assets/database_overview.png)\n\nWas done thanks to https://drawdb.vercel.app/editor, imported schema can be\nfound in `assets/database_overview.ddb`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafup%2Fhermes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fafup%2Fhermes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fafup%2Fhermes/lists"}