{"id":20217960,"url":"https://github.com/matrix-org/panopticon","last_synced_at":"2025-07-18T08:06:43.531Z","repository":{"id":30607886,"uuid":"42319477","full_name":"matrix-org/panopticon","owner":"matrix-org","description":"panopticon records usage metrics from homeservers","archived":false,"fork":false,"pushed_at":"2024-05-21T19:32:12.000Z","size":101,"stargazers_count":13,"open_issues_count":3,"forks_count":8,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-07-03T16:43:39.873Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matrix-org.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2015-09-11T16:21:50.000Z","updated_at":"2024-09-19T04:40:13.000Z","dependencies_parsed_at":"2024-06-19T05:17:47.469Z","dependency_job_id":"bd04f878-b8ae-42f4-a82e-71bbf97c9d98","html_url":"https://github.com/matrix-org/panopticon","commit_stats":{"total_commits":72,"total_committers":15,"mean_commits":4.8,"dds":0.8055555555555556,"last_synced_commit":"2c269728dacb9eac4ccd60fde5d586655d26de15"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/matrix-org/panopticon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fpanopticon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fpanopticon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fpanopticon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fpanopticon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matrix-org","download_url":"https://codeload.github.com/matrix-org/panopticon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fpanopticon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265725142,"owners_count":23817966,"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-11-14T06:36:37.587Z","updated_at":"2025-07-18T08:06:43.509Z","avatar_url":"https://github.com/matrix-org.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# panopticon\npanopticon records usage metrics from homeservers\n\n## Building\nTo build panopticon, you need a working go installation.\nTo install dependencies, run:\n\n```sh\ngo get github.com/mattn/go-sqlite3\ngo get github.com/go-sql-driver/mysql\n```\n\nTo build, run:\n\n```sh\ngo build\n```\n\n## Testing\nThere is a second `Dockerfile-testing` that builds panopticon to run the tests as above, as we probably want locally.\n\nThis only requires docker on your local workstation, no go install or dependencies required.\n\n```sh\ndocker-tests.sh\n```\nTo add new tests, crib exiting files in the `tests` directory.\n\n# Deployment using docker image\n\nSet the environment variables for the go image\n * `PANOPTICON_DB_DRIVER` (eg, mysql or sqlite) \n * `PANOPTICON_DB` (go mysql connection string or filename for sqlite)\n * `PANOPTICON_PORT` (http port to expose panopticon on)\n\nSet the environment variables for the python image\n * `PANOPTICON_DB_NAME`\n * `PANOPTICON_DB_USER`\n * `PANOPTICON_DB_PASSWORD`\n * `PANOPTICON_DB_HOST`\n * `PANOPTICON_DB_PORT`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Fpanopticon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrix-org%2Fpanopticon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Fpanopticon/lists"}