{"id":16132122,"url":"https://github.com/treer/gemserv","last_synced_at":"2025-10-08T00:39:48.308Z","repository":{"id":78165065,"uuid":"391043832","full_name":"Treer/gemserv","owner":"Treer","description":"my unofficial github copy of https://git.sr.ht/~int80h/gemserv (pulls from upstream are manual, so may lag)","archived":false,"fork":false,"pushed_at":"2022-02-15T15:48:00.000Z","size":123,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T15:09:36.168Z","etag":null,"topics":["gemini-protocol"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Treer.png","metadata":{"files":{"readme":"README","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}},"created_at":"2021-07-30T11:42:43.000Z","updated_at":"2022-02-15T15:48:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"ad633823-1863-45c7-8f3f-7f523564b09f","html_url":"https://github.com/Treer/gemserv","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treer%2Fgemserv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treer%2Fgemserv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treer%2Fgemserv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treer%2Fgemserv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Treer","download_url":"https://codeload.github.com/Treer/gemserv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247500440,"owners_count":20948875,"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":["gemini-protocol"],"created_at":"2024-10-09T22:29:07.752Z","updated_at":"2025-10-08T00:39:48.261Z","avatar_url":"https://github.com/Treer.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gemserv\n\nA gemini server written in rust.\n\n## Features\n\n - Vhosts\n - CGI\n - User directories\n - Reverse proxy\n - Redirect\n - SCGI\n - Reload config on SIGHUP\n\n## Installation and running\n\nTo run either run \"cargo run /path/to/config\" or if no configuration is\nspecified it will look for \"/usr/local/etc/gemserv.conf\"\n\n### Prebuilt binaries\n\nYou can download prebuilt binaries for linux on the release page.\n\n### Install from crates.io:\n\ncargo install gemserv\n\n### Install from docker\n\ndocker pull 080h/gemserv\n\n### Build from source:\n\n - Clone the repo\n - If you want to use all features run 'cargo build --release' or if you only\n   want to serve static files run 'cargo build --release --no-default-features'\n - Modify the config.toml to your needs\n - Run './target/release/gemserv config.toml'\n\n## Init scripts\n\nIn the init-scripts directory there's OpenRC(Courtesy of Tastytea) and systemd\nservice files.\n\n## CGI and SCGI\n\nThere's example SCGI scripts for python and perl in the cgi-scripts directory.\n\nIn the configuration file there's \"cgi\" which is an optional bool to turn cgi\non. If it's true it'll run scripts from any directory. To limit it to only one\ndirectory set \"cgipath\"\n\nIf \"cgi\" is false or not set the server will respond \"Not Found\" to any\nexecutable file.\n\nScripts have 5 seconds to complete or they will be terminated.\n\n### CGI Environments\n\nThese variables are preset for you. If you need more you can define them in the\nconfig file under \"cgienv\"\n\n - GEMINI_URL\n - SERVER_NAME\n - SERVER_PROTOCOL\n - SERVER_SOFTWARE\n - SCRIPT_NAME\n - REMOTE_ADDR\n - REMOTE_HOST\n - REMOTE_PORT\n - QUERY_STRING\n - PATH_INFO\n\nTLS variables\n - AUTH_TYPE\n - TLS_CLIENT_HASH\n - REMOTE_USER\n\n## Changelog\n\n### [0.6.5] - 20220209\n\nBug fix: Another traversal bug.\n\n### [0.6.4] - 20220202\n\nFixed a file system traversal bug. All previous versions are unsafe.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreer%2Fgemserv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreer%2Fgemserv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreer%2Fgemserv/lists"}