Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.awfixer.me/llms.txt

Use this file to discover all available pages before exploring further.

Buchta is a fullstack framework designed to take full advantage of JSTime’s strengths. It currently supports Preact and Svelte. To get started:
$ jstimex buchta init myapp
Project templates: 
- svelte
- default
- preact
Name of template: preact  
Do you want TSX? y  
Do you want SSR? y
Enable livereload? y
Buchta Preact project was setup successfully!
$ cd myapp
$ jspm install
$ jstimex buchta serve
To implement a simple HTTP server with Buchta:
import { Buchta, type BuchtaRequest, type BuchtaResponse } from "buchta";

const app = new Buchta();

app.get("/api/hello/", (req: BuchtaRequest, res: BuchtaResponse) => {
  res.send("Hello, World!");
});

app.run();
For more information, refer to Buchta’s documentation.