{"id":18956664,"url":"https://github.com/praetoriansentry/melchior","last_synced_at":"2025-04-18T15:03:09.980Z","repository":{"id":64303753,"uuid":"307864816","full_name":"praetoriansentry/melchior","owner":"praetoriansentry","description":"Simple, secure, static file server for the Gemini protocol","archived":false,"fork":false,"pushed_at":"2020-11-14T23:46:36.000Z","size":20,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T06:23:13.669Z","etag":null,"topics":["gemini","gemini-protocol","server"],"latest_commit_sha":null,"homepage":"","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/praetoriansentry.png","metadata":{"files":{"readme":"README.org","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}},"created_at":"2020-10-28T00:39:21.000Z","updated_at":"2024-07-01T22:00:27.000Z","dependencies_parsed_at":"2023-01-15T10:00:56.157Z","dependency_job_id":null,"html_url":"https://github.com/praetoriansentry/melchior","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praetoriansentry%2Fmelchior","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praetoriansentry%2Fmelchior/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praetoriansentry%2Fmelchior/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/praetoriansentry%2Fmelchior/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/praetoriansentry","download_url":"https://codeload.github.com/praetoriansentry/melchior/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249184648,"owners_count":21226428,"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","gemini-protocol","server"],"created_at":"2024-11-08T13:53:16.025Z","updated_at":"2025-04-16T02:33:20.024Z","avatar_url":"https://github.com/praetoriansentry.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"* Melchior\n\nThis is meant to be an extremely simple static file server that\noperates on the gemini protocol. I mostly just wanted an extremely\nsimple and hopfully secure server to run at home.\n\n** Features\n\n- Configured with environment variables\n\n** Running\n\nIn order to run this, at the very least you'll need to generate a\ncertificate. I've been using a command like this.\n\n#+BEGIN_SRC\nopenssl req -newkey rsa:2048 -nodes -keyout localhost.key -nodes -x509 -out localhost.crt -subj \"/CN=localhost\"\n#+END_SRC\n\nAfter getting the certificates generated you can run this by doing\n\n#+BEGIN_SRC\nenv MELCHIOR_TLS_CERT=localhost.crt MELCHIOR_TLS_KEY=localhost.key MELCHIOR_HOSTNAME=localhost MELCHIOR_BIND_ADDR=127.0.0.1:1965 MELCHIOR_ROOT_DIR=. go run melchior.go\n#+END_SRC\n\nIf you don't have a gemini client handy, you can use ~socat~ to do\nsome testing\n#+BEGIN_SRC\nsocat - OPENSSL-connect:127.0.0.1:1965,verify=0\n#+END_SRC\n\n\n** Installation\n\n#+begin_src\n# I'm doing a static build so that I can run this more easily in a container-ish environment\ngo build -ldflags \"-linkmode external -extldflags -static\" -a melchior.go\ncp melchior /usr/local/bin/melchior\ncp melchior-daemon.service /etc/systemd/system/melchior-daemon.service\nchmod 664 /etc/systemd/system/melchior-daemon.service\n\nsudo systemctl enable melchior-daemon\nsudo systemctl start melchior-daemon\n#+end_src\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraetoriansentry%2Fmelchior","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraetoriansentry%2Fmelchior","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraetoriansentry%2Fmelchior/lists"}