https://github.com/anbcodes/gem
A gemini server based on middleware
https://github.com/anbcodes/gem
deno koa
Last synced: 4 months ago
JSON representation
A gemini server based on middleware
- Host: GitHub
- URL: https://github.com/anbcodes/gem
- Owner: anbcodes
- Created: 2022-02-01T00:39:19.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-05T22:25:16.000Z (over 4 years ago)
- Last Synced: 2025-10-20T17:46:08.067Z (8 months ago)
- Topics: deno, koa
- Language: TypeScript
- Homepage: https://deno.land/x/gem
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gem
Gem is an [gemini](https://gemini.circumlunar.space) server based on the idea of
middleware. Similar to [oak](https://github.com/oakserver/oak) or
[koa](https://github.com/koajs/koa/)
Example
```ts
import { GemApplication } from "https://deno.land/x/gem/mod.ts";
const app = new GemApplication();
app.use((ctx) => {
ctx.response.body = "Hello world!";
});
app.listen({ port: 1965, secure: false });
```