{"id":23273410,"url":"https://github.com/luphoria/graim","last_synced_at":"2025-08-21T05:31:44.448Z","repository":{"id":38378971,"uuid":"484225204","full_name":"luphoria/graim","owner":"luphoria","description":"matrix \u003c=\u003e discord moderation with the power of matrix-appservice-discord","archived":false,"fork":false,"pushed_at":"2024-10-03T19:35:05.000Z","size":409,"stargazers_count":21,"open_issues_count":7,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T04:13:41.088Z","etag":null,"topics":["discord","discord-bot","discord-js","matrix","matrix-bot","matrix-bridge","matrix-org","moderation","moderator"],"latest_commit_sha":null,"homepage":"https://gra.im","language":"TypeScript","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/luphoria.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-21T22:41:34.000Z","updated_at":"2024-04-02T17:43:27.000Z","dependencies_parsed_at":"2023-02-08T20:01:01.368Z","dependency_job_id":null,"html_url":"https://github.com/luphoria/graim","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/luphoria/graim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luphoria%2Fgraim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luphoria%2Fgraim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luphoria%2Fgraim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luphoria%2Fgraim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luphoria","download_url":"https://codeload.github.com/luphoria/graim/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luphoria%2Fgraim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271430739,"owners_count":24758362,"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-21T02:00:08.990Z","response_time":74,"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":["discord","discord-bot","discord-js","matrix","matrix-bot","matrix-bridge","matrix-org","moderation","moderator"],"created_at":"2024-12-19T19:34:17.571Z","updated_at":"2025-08-21T05:31:44.188Z","avatar_url":"https://github.com/luphoria.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# graim\nmatrix \u0026lt;=\u0026gt; discord moderation with the power of matrix-appservice-discord\n\n## Social\ngraim's website is viewable at [gra.im](https://gra.im).\nYou can join the graim [Matrix space](https://matrix.to/#/#graim:gra.im) as well as the [Discord server](https://discord.gg/MV7fDb4AKy). *the main matrix room is @ [#general:gra.im](https://matrix.to/#/#general:gra.im)\n\n## Configure/Install\nCheck out the [configuration guide](./setup.md).\n\n## TODOs\n- Bug fixing\n- Better guides\n\n## Features\n- moderation syncs across rooms\n- Kick, ban + unban\n- Mute\n- Strike system\n- Automatically attribute moderation history to graimdb\n- Discord moderators may use `whosent` to discover what matrix user is behind a Discord message\n- Userinfo command\n- Database management commands (add/remove user, add/remove moderator)\n\n\n## How\ngraim is built with the intention of being Matrix-first. There are a few reasons for this:\n- Discord API sucks\n- Discord webhooks have incredibly little data attributed to them\n- I \u003c3 Matrix\n\nEvery Discord user, via matrix-appservice-discord, is given its own user (i.e. `@_discord_\u003cdiscord_id\u003e:matrix.org`. So, graim listens for commands only from Matrix users - because Discord users are Matrix users by proxy.\nSimply tie a server to a group of rooms, then tie each Matrix user to a Discord account packaged in one \"graim user\" :D\n\n## Credits\nThe bot itself - [luphoria](https://luphoria.com)\n\nAny other [contributors](https://github.com/luphoria/graim/contributors)\n\nBuilt with **major help** from [turt2live/matrix-bot-sdk-bot-template](https://github.com/turt2live/matrix-bot-sdk-bot-template) by Travis Ralston\n\nUses the dependencies:\n - [matrix-bot-sdk](https://github.com/turt2live/matrix-bot-sdk)\n - [discord.js](https://discord.js.org/)\n - [escape-html](https://github.com/component/escape-html)\n - [config](https://github.com/lorenwest/node-config)\n - [js-yaml](https://github.com/nodeca/js-yaml)\n\nSpecial thanks:\n - **HalfShot** for **[matrix-appservice-discord](https://github.com/Half-Shot/matrix-appservice-discord)** for the Discord \u003c-\u003e Matrix bridge itself\n - **[Travis Ralston](https://github.com/turt2live)** for the tons of free resources which I used a LOT of\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluphoria%2Fgraim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluphoria%2Fgraim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluphoria%2Fgraim/lists"}