{"id":13551131,"url":"https://github.com/matrix-org/matrix-static","last_synced_at":"2025-04-03T01:31:28.493Z","repository":{"id":22062464,"uuid":"94216537","full_name":"matrix-org/matrix-static","owner":"matrix-org","description":"A static golang generated preview of public world readable Matrix rooms.","archived":true,"fork":false,"pushed_at":"2023-05-30T08:16:54.000Z","size":6785,"stargazers_count":86,"open_issues_count":54,"forks_count":25,"subscribers_count":29,"default_branch":"develop","last_synced_at":"2024-11-03T21:34:16.733Z","etag":null,"topics":["static-site"],"latest_commit_sha":null,"homepage":"http://view.matrix.org/","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":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}},"created_at":"2017-06-13T13:34:20.000Z","updated_at":"2024-09-19T11:14:04.000Z","dependencies_parsed_at":"2024-01-21T20:12:09.685Z","dependency_job_id":null,"html_url":"https://github.com/matrix-org/matrix-static","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fmatrix-static","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fmatrix-static/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fmatrix-static/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fmatrix-static/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matrix-org","download_url":"https://codeload.github.com/matrix-org/matrix-static/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246922068,"owners_count":20855341,"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":["static-site"],"created_at":"2024-08-01T12:01:42.895Z","updated_at":"2025-04-03T01:31:27.847Z","avatar_url":"https://github.com/matrix-org.png","language":"Go","readme":"Matrix Static\n===========\n\n### No longer maintained\nIn favour of https://github.com/matrix-org/matrix-public-archive\n\n### Installation\n`git clone` or download this repository as an archive and extract then follow below instructions.\n\n```\ngo get github.com/valyala/quicktemplate/qtc\nqtc\nmkdir bin \u0026\u0026 go build -o bin/ ./cmd/...\n```\n\n### Docker\n```shell\ndocker build -t matrix-static .\ndocker run -v $(pwd)/config.json:/opt/matrix-static/config.json -p 8000:8000 -it matrix-static\n```\n\nor for windows:\n```shell script\ndocker run -v %cd%/config.json:/opt/matrix-static/config.json -p 8000:8000 -it matrix-static\n```\n\nand pass any command line arguments to the end of the command.\n\n### Usage\nFirst you must create a config, there is a sample json file provided or you can use the helper binary `register-guest` to register a guest on a given homeserver and write an appropriate config file.\n\n`register-guest` takes the following options:\n\n`--config-file=` to specify the config file, defaulting to `./config.json`.\n\n`--homeserver-url=` to specify the Homeserver URL to use, defaulting to `https://matrix.org`.\n\n\n\nThe main binary, `matrix-static` exhibits the following controls:\n\nAccepts `PORT=` env variable to determine what port to use, defaulting to port 8000 if one is not specified. Will panic if port is in use.\n\nAccepts the following command line arguments:\n\n`--config-file=` to specify the config file, defaulting to `./config.json`.\n\n`--enable-pprof` if set, enables the `/debug/pprof` endpoints for debugging.\n\n`--enable-prometheus-metrics` if set, enables the `/metrics` endpoint for metrics.\n\n`--num-workers=` to specify the number of worker goroutines to start, defaults to 32.\n\n`--public-serve-prefix=` to specify the router prefix to use for the user-facing html-serving routes, defaults to `/`.\n\n`--logger-directory` to specify where the output logs should go.\n\n`--cache-ttl` to specify how long since last access to keep a room in memory and up to date for, defaults to 30 minutes.\n\n`--cache-min-rooms` to specify the minimum number of rooms to always keep in memory, defaults to 10.\n\n\n\n### Support\n\nCurrently hosted at https://view.matrix.org\n\nDiscussion Matrix Room is [#matrix-static:matrix.org](https://matrix.to/#/#matrix-static:matrix.org)\n","funding_links":[],"categories":["Go","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Fmatrix-static","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrix-org%2Fmatrix-static","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Fmatrix-static/lists"}