{"id":13771239,"url":"https://github.com/gemrest/maple","last_synced_at":"2026-02-25T23:05:42.936Z","repository":{"id":136525144,"uuid":"477631507","full_name":"gemrest/maple","owner":"gemrest","description":"🍁 A very simple static Gemini server, now with Titan support!","archived":false,"fork":false,"pushed_at":"2025-12-06T08:18:06.000Z","size":111,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-10T01:53:43.878Z","etag":null,"topics":["gemini","gemini-server","titan"],"latest_commit_sha":null,"homepage":"","language":"C++","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/gemrest.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["fuwn"]}},"created_at":"2022-04-04T09:26:47.000Z","updated_at":"2025-12-06T08:18:10.000Z","dependencies_parsed_at":"2023-12-19T06:51:07.953Z","dependency_job_id":"a1b21b52-71b1-46ba-b01e-58dfffabe8b5","html_url":"https://github.com/gemrest/maple","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/gemrest/maple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemrest%2Fmaple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemrest%2Fmaple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemrest%2Fmaple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemrest%2Fmaple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gemrest","download_url":"https://codeload.github.com/gemrest/maple/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gemrest%2Fmaple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29844845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T22:37:40.667Z","status":"ssl_error","status_checked_at":"2026-02-25T22:37:25.960Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-server","titan"],"created_at":"2024-08-03T17:00:49.416Z","updated_at":"2026-02-25T23:05:42.916Z","avatar_url":"https://github.com/gemrest.png","language":"C++","funding_links":["https://github.com/sponsors/fuwn"],"categories":["Servers"],"sub_categories":["Graphical"],"readme":"# Maple\n\nA very simple static Gemini server, now with Titan support!\n\n### Lines-of-code\n\nThis codebase is now 351 lines of lines-of-code!\n\nThe statement \"... written within a single file and liberally\nspanning 159 lines-of-code.\" has been removed.\n\nIf you would still like the minimal 159-LOC experience, checkout\n[49ce0f8](https://github.com/gemrest/maple/tree/49ce0f83b8abd1af4760e56c1673c6997ef8a2c4)!\n(Docker tag `0.1.4`) Do note, that version of this project is outdated and only\nhas Gemini support.\n\n## Usage\n\n### Docker Compose\n\nA Docker Compose file is already setup [here](./docker-compose.yaml). The only\nfield which should be modified is the `ports`, if need be.\n\n```shell\ndocker-compose up -d\n```\n\n### Docker\n\n```shell\ndocker run -p 1965:1965 -v ./your_capsules_directory:/maple/.maple fuwn/maple:latest\n```\n\n### Executable\n\n1. Build: `tup` (requires [Tup](https://gittup.org/tup/index.html))\n2. Run: `build/maple`, or\n   `TITAN=1 TITAN_TOKEN=secret TITAN_MAX_SIZE=2048 build/maple`\n\n### Certificates\n\nBefore any possible method of usage; you must generate or use a preexisting\nserver certificate.\n\nIf you do not have an existing certificate, generate one using the provided\ncertificate generations script: [`bin/genkey`](bin/genkey) (requires\n[OpenSSL](https://www.openssl.org/)).\n\nThe server certificate must be placed in a directory -- directly adjacent to the\nDocker Compose file or executable -- named [`.maple`](.maple). The public and\nprivate keys must be named `public.pem` and `private.pem`, respectively.\n\n### Gemini Content\n\nGemini content must be placed in a directory -- directly adjacent to the\nDocker Compose file or executable -- named [`.maple/gmi`](.maple/gmi) and\nending with the file extension `.gmi`.\n\n### Environment Variables\n\nMaple can be configured with three optional environment variables:\n\n#### `TITAN`\n\nEnable Titan support.\n\nTakes a value of either `true` or `1`, case-insensitive.\n\nDefaults to off.\n\n#### `TITAN_TOKEN`\n\nSet a token to restrict Titan access.\n\nTakes a string value, case-sensitive.\n\nDefaults to no token, **anyone can upload!**\n\n#### `TITAN_MAX_SIZE`\n\nThe maximum size in bytes which a Titan upload is permitted to perform.\n\nTakes an integer.\n\nDefault to `1024`.\n\n### Hacking\n\nIf you decide to tamper with Maple, you should give your commits a test. As\nthere isn't a test suite yet, feel free to use any of these examples:\n\n```bash\n# Using OpenSSL directly to debug different requests:\n$ openssl s_client -ign_eof -quiet -connect localhost:1965 \u003c\u003c\u003c \\\n\u003e \"gemini://localhost:1965\"\n\n# Using Bollux to debug proper requests... or any client!\n$ bollux localhost\n```\n\n## Capsules using Maple\n\n[Add yours!](https://github.com/gemrest/maple/edit/main/README.md)\n\n- \u003cgemini://gem.rest/\u003e (\u003chttps://gem.rest/\u003e)\n\n## License\n\nThis project is licensed with the [GNU General Public License v3.0](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemrest%2Fmaple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgemrest%2Fmaple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgemrest%2Fmaple/lists"}