{"id":29555021,"url":"https://github.com/eroica/spacecafe","last_synced_at":"2025-07-18T08:37:53.131Z","repository":{"id":304068020,"uuid":"1017293409","full_name":"Eroica/SpaceCafe","owner":"Eroica","description":"A Gemini server written in Kotlin","archived":false,"fork":false,"pushed_at":"2025-07-10T19:30:20.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-11T05:04:54.309Z","etag":null,"topics":["gemini","kotlin","server"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eroica.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}},"created_at":"2025-07-10T10:06:48.000Z","updated_at":"2025-07-10T19:30:24.000Z","dependencies_parsed_at":"2025-07-11T05:15:12.959Z","dependency_job_id":null,"html_url":"https://github.com/Eroica/SpaceCafe","commit_stats":null,"previous_names":["eroica/spacecafe"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Eroica/SpaceCafe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eroica%2FSpaceCafe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eroica%2FSpaceCafe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eroica%2FSpaceCafe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eroica%2FSpaceCafe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eroica","download_url":"https://codeload.github.com/Eroica/SpaceCafe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eroica%2FSpaceCafe/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265728986,"owners_count":23818733,"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","kotlin","server"],"created_at":"2025-07-18T08:37:52.556Z","updated_at":"2025-07-18T08:37:53.123Z","avatar_url":"https://github.com/Eroica.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpaceCafe\n\nSpaceCafe is a Gemini server written in Kotlin using coroutines. It is based on _SpaceBeans_, written in Scala, by [@reidrac](https://github.com/reidrac).\n\nSince SpaceBeans development has stopped, I decided to convert it to Kotlin.\n\nIt should more or less support all of [SpaceBean's features](https://git.usebox.net/spacebeans/about/).\n\n## How to run\n\nYou need to create a `spacecafe.conf` configuration file, and a certificate. Take a look at the example configuration to see how to configure the server.\n\n[Download](https://github.com/Eroica/SpaceCafe/releases) or build the SpaceCafe JAR file, and then you can run: `java -jar spacecafe-VERSION.jar -c myconfig.conf`\n\n### Differences to SpaceBean's config\n\n* `idle-timeout` must be specified as an integer of milliseconds (`10000`) instead of a string like `10 seconds`\n* If no config file is specified, the default one is only searched in the current directory instead of something like `/etc/...`\n\n### Create a certificate\n\nUsing `keytool`:\n\n`keytool -genkey -keyalg RSA -alias ALIAS -keystore keystore.jks -storepass SECRET -noprompt -validity 36500 -keysize 2048`\n\nWhen prompted, enter the domain name as the first \"name\" (_CN_). For example, if you run and test the server locally, just `localhost`.\n\n## Development\n\nSpaceCafe is written in Kotlin and built with Gradle. `jvmToolchain` is currently set to 21.\n\n* `gradle build` to build the project\n* `gradle run` to build and run the server\n* `gradle shadowJar` to build a fat JAR (contains all dependencies)\n\nNote that by default, a configuration file `spacecafe.conf` is expected in the working directory.\n\n## License\n\nSpaceCafe is published under the zlib license. See `LICENSE` file.\n\n```\nCopyright (C) 2025 Eroica\n\nThis software is provided 'as-is', without any express or implied\nwarranty. In no event will the authors be held liable for any damages\narising from the use of this software.\n\nPermission is granted to anyone to use this software for any purpose,\nincluding commercial applications, and to alter it and redistribute it\nfreely, subject to the following restrictions:\n\n1. The origin of this software must not be misrepresented; you must not\n   claim that you wrote the original software. If you use this software\n   in a product, an acknowledgment in the product documentation would be\n   appreciated but is not required.\n2. Altered source versions must be plainly marked as such, and must not be\n   misrepresented as being the original software.\n3. This notice may not be removed or altered from any source distribution.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feroica%2Fspacecafe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feroica%2Fspacecafe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feroica%2Fspacecafe/lists"}