{"id":23721077,"url":"https://github.com/nhas/synapse_manager","last_synced_at":"2025-08-14T21:15:54.720Z","repository":{"id":119332968,"uuid":"393569234","full_name":"NHAS/synapse_manager","owner":"NHAS","description":"Manage a synapse instance via the command line","archived":false,"fork":false,"pushed_at":"2021-08-19T00:08:42.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T22:16:58.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/NHAS.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":"2021-08-07T03:40:13.000Z","updated_at":"2021-08-19T00:08:44.000Z","dependencies_parsed_at":"2023-07-17T15:41:51.865Z","dependency_job_id":null,"html_url":"https://github.com/NHAS/synapse_manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHAS%2Fsynapse_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHAS%2Fsynapse_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHAS%2Fsynapse_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHAS%2Fsynapse_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NHAS","download_url":"https://codeload.github.com/NHAS/synapse_manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239816341,"owners_count":19701752,"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","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-12-30T22:17:05.272Z","updated_at":"2025-02-20T09:41:47.415Z","avatar_url":"https://github.com/NHAS.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Synapse_manager\nHelp\n\n```\nUsage of ./synapse_manager:\n  -autopurge\n        Purge all rooms with 0 members joined to them\n  -deactivate string\n        Deactivate an account, eg -deactivate @target:matrix.ais\n  -list\n        List all users, requires no arguments\n  -list_rooms\n        List all rooms, requires no arguments\n  -purge string\n        Purge a room from the database, typically so it can be reclaimed if everyone left, eg -purge !oqhoCmLzNgkVlLgxQp:matrix.ais, this can be found in the database of room_aliases\n  -query string\n        Queries a user and gets last ip, user agent, eg -query @target:matrix.ais\n  -reset string\n        Reset users account with new password, eg -reset @target:matrix.ais\n  -url string\n        The URL that points towards the matrix server (default \"http://localhost:8008\")\n```\nOn taking any of these actions an admin username and password will be needed to be entried via stdin. \n\nThis will then be used to connect to the synapse server to get an authorization token to thus perform the action. \n\nWhile the purge API has now been fixed, some rooms that have been created have users joined to them, which stops a room from being purged. There is an API to shutdown a room and kick all people, however this creates a new room. Which.... kind of defeats the purpose of things to begin with. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhas%2Fsynapse_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhas%2Fsynapse_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhas%2Fsynapse_manager/lists"}