{"id":50913984,"url":"https://github.com/berkaygediz/localmoderationmatrix","last_synced_at":"2026-06-16T13:01:04.512Z","repository":{"id":343611105,"uuid":"1178412621","full_name":"berkaygediz/LocalModerationMatrix","owner":"berkaygediz","description":"A CLI tool for bulk message deletion, media cleanup, and sticker purge in Matrix rooms.","archived":false,"fork":false,"pushed_at":"2026-06-14T02:46:01.000Z","size":29,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-14T04:14:15.365Z","etag":null,"topics":["bulk-delete","cinny","cli","e2ee","element","matrix","matrix-nio","matrix-org","matrix-room","matrix-rooms","moderation","neochat","nheko","open-source","schildichat"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/localmoderationmatrix/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/berkaygediz.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":"2026-03-11T02:03:02.000Z","updated_at":"2026-06-14T02:53:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/berkaygediz/LocalModerationMatrix","commit_stats":null,"previous_names":["berkaygediz/localmoderationmatrix"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/berkaygediz/LocalModerationMatrix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berkaygediz%2FLocalModerationMatrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berkaygediz%2FLocalModerationMatrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berkaygediz%2FLocalModerationMatrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berkaygediz%2FLocalModerationMatrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berkaygediz","download_url":"https://codeload.github.com/berkaygediz/LocalModerationMatrix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berkaygediz%2FLocalModerationMatrix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34406824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"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":["bulk-delete","cinny","cli","e2ee","element","matrix","matrix-nio","matrix-org","matrix-room","matrix-rooms","moderation","neochat","nheko","open-source","schildichat"],"created_at":"2026-06-16T13:01:02.733Z","updated_at":"2026-06-16T13:01:04.472Z","avatar_url":"https://github.com/berkaygediz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LocalModeration for Matrix\n\nA CLI tool for bulk message deletion, media cleanup, and sticker purge in Matrix rooms.\n\n\u003e **Note:** This tool targets **public (unencrypted) rooms**. Encrypted messages are skipped automatically.\n\n## Installation\n\n**View on PyPI:** [pypi.org/project/localmoderationmatrix](https://pypi.org/project/localmoderationmatrix/)\n\n**Using pip:**\n\n```bash\npip install localmoderationmatrix\n```\n\n**Using uv:**\n\n```bash\nuv tool install localmoderationmatrix\n```\n\n**Standalone Executable:** [GitHub Releases](https://github.com/berkaygediz/LocalModerationMatrix/releases)\n\n## Session\n\nOnce logged in, your session is saved in your home directory. Just enter your **User ID** on the next run to auto-login.\n\n## Usage\n\n```bash\nlocalmoderationmatrix \u003croom_id\u003e [options]\n```\n\n### Parameters\n\n| Parameter | Description |\n| --- | --- |\n| `room_id` | (Required) The Matrix room ID. |\n| `--search` | Search for a single keyword. |\n| `--file` | Search using a wordlist file (one word per line). |\n| `--purge-media` | Delete media older than X days (`0` for all). |\n| `--purge-sticker` | Delete stickers older than X days (`0` for all). |\n| `--log-room` | Room ID to send moderation logs. |\n| `--days` | Time filter: Days (Default: 0). |\n| `--hours` | Time filter: Hours (Default: 1). |\n| `--minutes` | Time filter: Minutes (Default: 0). |\n| `--homeserver` | Custom homeserver URL. |\n\n### Interactive Keys\n\n* `y` : Delete.\n* `n` : Skip.\n* `a` : **Delete All** remaining items automatically.\n* `q` : Quit.\n\n## Examples\n\n**Search for a keyword:**\n\n```bash\nlocalmoderationmatrix \"!roomID:matrix.org\" --search \"spam\"\n```\n\n**Scan with a wordlist and log actions:**\n\n```bash\nlocalmoderationmatrix \"!roomID:matrix.org\" --file words.txt --days 7 --log-room \"!LogRoomID:matrix.org\"\n```\n\n**Delete media older than 90 days:**\n\n```bash\nlocalmoderationmatrix \"!roomID:matrix.org\" --purge-media 90\n```\n\n**Delete ALL stickers:**\n\n```bash\nlocalmoderationmatrix \"!roomID:matrix.org\" --purge-sticker 0\n```\n\n**Custom time filter:**\n\n```bash\nlocalmoderationmatrix \"!roomID:matrix.org\" --search \"test\" --days 3 --hours 12\n```\n\n## Building from Source\n\n**PyPI Package:**\n\n```bash\nuv build\n```\n\n**Standalone Executable:**\n\n```bash\npyinstaller --onefile --name LocalModerationMatrix --clean --noconfirm --optimize 2 src/localmoderationmatrix/cli.py\n```\n\n## License\n\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberkaygediz%2Flocalmoderationmatrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberkaygediz%2Flocalmoderationmatrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberkaygediz%2Flocalmoderationmatrix/lists"}