Hey! I’m the creator of smallweb, a self-hosted serverless platform powered by deno. More details here: here: https://smallweb-readme.pomdtr.me/
In smallweb, you can install a new app by creating a single main.ts, exporting a fetch handler. Ex:
// ~/www/example/main.ts
const handler = (_req: Request) => {
return new Response("Hello world")
}
export default {
fetch: handler
}
Then you just go to https://example.localhost or https://example.<your-domain> to preview the results.
I would be interested in hosting silverbullet from smallweb. It would require two things:
- publishing silverbullet as package to jsr
- exporting a handler in the package.
It would probably look something like this:
import { SilverBullet } from "jsr:@silverbullet/silverbullet"
const silverbullet = new SilverBullet(/* config */);
export default silverbullet;
Would you be interested in providing this deployment option ?