An AI chat application wherein various techniques are employed to have long-running chats in a token-efficient way, such as strategic extraction and application of facts and summaries.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Avraham Sakal d7716bd451 "chats" menu open by default 3 months ago
.vscode format 4 months ago
assets scaffold Vike app with Bati 4 months ago
database use `lowdb` for faster iteration; use strings for ids and camelCase for field names for consistency 3 months ago
layouts "chats" menu open by default 3 months ago
pages use `lowdb` for faster iteration; use strings for ids and camelCase for field names for consistency 3 months ago
server fix: load envs in `env.js` 3 months ago
trpc setup postgres and kyseley for most data instead of milvus 3 months ago
.gitignore use `lowdb` for faster iteration; use strings for ids and camelCase for field names for consistency 3 months ago
.kanelrc.cjs setup postgres and kyseley for most data instead of milvus 3 months ago
.tool-versions setup pnpm/biome/vscode 4 months ago
AGENTS.md add `AGENTS.md` for opencode 3 months ago
README.md scaffold Vike app with Bati 4 months ago
biome.json basic route-specific trpc file example 4 months ago
global.d.ts scaffold Vike app with Bati 4 months ago
hono-entry.node.ts fix: linting errors 4 months ago
hono-entry.ts * trpc same data shape as `generateText` 4 months ago
opencode.json generate `runningSummary` on each turn, and include it with the main completion 3 months ago
package.json use `lowdb` for faster iteration; use strings for ids and camelCase for field names for consistency 3 months ago
pnpm-lock.yaml use `lowdb` for faster iteration; use strings for ids and camelCase for field names for consistency 3 months ago
pnpm-workspace.yaml * trpc same data shape as `generateText` 4 months ago
postcss.config.cjs scaffold Vike app with Bati 4 months ago
state.ts use `lowdb` for faster iteration; use strings for ids and camelCase for field names for consistency 3 months ago
tsconfig.json format 4 months ago
types.ts use `lowdb` for faster iteration; use strings for ids and camelCase for field names for consistency 3 months ago
vite.config.ts scaffold Vike app with Bati 4 months ago
wrangler.toml scaffold Vike app with Bati 4 months ago

README.md

Generated with vike.dev/new (version 450) using this command:

pnpm create vike@latest --react --compiled-css --mantine --authjs --trpc --hono --cloudflare --biome

Contents

React

This app is ready to start. It's powered by Vike and React.

/pages/+config.ts

Such + files are the interface between Vike and your code. It defines:

Routing

Vike's built-in router lets you choose between:

/pages/_error/+Page.jsx

The error page which is rendered when errors occur.

/pages/+onPageTransitionStart.ts and /pages/+onPageTransitionEnd.ts

The onPageTransitionStart() hook, together with onPageTransitionEnd(), enables you to implement page transition animations.

SSR

SSR is enabled by default. You can disable it for all your pages or only for some pages.

HTML Streaming

You can enable/disable HTML streaming for all your pages, or only for some pages while still using it for others.

Mantine

This is a boilerplate for Mantine based on the Getting Started guide.

The following Packages are installed:

  • @mantine/hooks Hooks for state and UI management
  • @mantine/core Core components library: inputs, buttons, overlays, etc.

If you add more packages, make sure to update the layouts/LayoutDefault.tsx file to include the required CSSs.

The theme is defined in layouts/theme.ts.