{"id":24755068,"url":"https://github.com/systemli/userli-synapse-user-retention","last_synced_at":"2026-05-01T04:32:11.320Z","repository":{"id":270887849,"uuid":"911667666","full_name":"systemli/userli-synapse-user-retention","owner":"systemli","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-01T16:13:24.000Z","size":36,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-01T17:23:58.076Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/systemli.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-03T15:03:38.000Z","updated_at":"2025-03-01T16:13:27.000Z","dependencies_parsed_at":"2025-01-03T20:38:09.648Z","dependency_job_id":null,"html_url":"https://github.com/systemli/userli-synapse-user-retention","commit_stats":null,"previous_names":["systemli/userli-synapse-user-retention"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fuserli-synapse-user-retention","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fuserli-synapse-user-retention/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fuserli-synapse-user-retention/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fuserli-synapse-user-retention/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/systemli","download_url":"https://codeload.github.com/systemli/userli-synapse-user-retention/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245061384,"owners_count":20554563,"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":"2025-01-28T12:34:22.005Z","updated_at":"2026-05-01T04:32:06.272Z","avatar_url":"https://github.com/systemli.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# userli-synapse-user-retention\n\n[![Integration](https://github.com/systemli/userli-synapse-user-retention/actions/workflows/integration.yml/badge.svg)](https://github.com/systemli/userli-synapse-user-retention/actions/workflows/integration.yml) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=systemli_userli-synapse-user-retention\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=systemli_userli-synapse-user-retention) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=systemli_userli-synapse-user-retention\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=systemli_userli-synapse-user-retention) [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=systemli_userli-synapse-user-retention\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=systemli_userli-synapse-user-retention)\n\nThis project is a simple extention for Userli to update users when they are active in Matrix.\nIt will also delete users that are not active anymore in Matrix.\nYou can run this as a cronjob or a systemd timer.\n\n## Configuration\n\nThe following environment variables are required:\n\n- `USERLI_URL`: The URL of the Userli instance.\n- `USERLI_DOMAIN`: The domain you are using for Matrix.\n- `USERLI_TOKEN`: The token to authenticate against the Userli instance.\n- `SYNAPSE_URL`: The URL of the Synapse instance.\n- `SYNAPSE_TOKEN`: The token to authenticate against the Synapse instance.\n\n## Usage\n\nWe recommend to use the provided Docker image:\n\n```bash\ndocker run -d --name userli-synapse-user-retention \\\n  -e USERLI_URL=https://userli \\\n  -e USERLI_DOMAIN=example.com \\\n  -e USERLI_TOKEN=secret \\\n  -e SYNAPSE_URL=https://synapse \\\n  -e SYNAPSE_TOKEN=secret \\\n  systemli/userli-synapse-user-retention:latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemli%2Fuserli-synapse-user-retention","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemli%2Fuserli-synapse-user-retention","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemli%2Fuserli-synapse-user-retention/lists"}