Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rubriclab/genson
https://github.com/rubriclab/genson
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rubriclab/genson
- Owner: RubricLab
- Created: 2024-06-22T01:35:22.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-10T17:13:19.000Z (6 months ago)
- Last Synced: 2024-07-11T20:14:03.367Z (6 months ago)
- Language: TypeScript
- Homepage: https://genson.rubric.sh
- Size: 478 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Genson
Genson is a generative-ui web app that allows users to leverage the abilities of `Claude-3.5-sonnet` to generate functional UI using typesafe JSON.
The model is given a schema written in typescript for all supported components via Zod, making it very intuitive to define actions (functions, server actions, APIs) and frontend components. Users can generate full dashboards with forms, buttons, dropdowns, and more with nested components, shared data, full customizability, APIs. Just send a natural language query!
## Getting Started
```bash
pnpm install
```Setup your .env.local file. And set your own.
```bash
cp .env.example .env.local
```Run the development server:
```bash
pnpm dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.