SkillAgentSearch skills...

Xataform

Create, share and analyse your forms with Xata. Open Source alternative to Typeform.

Install / Use

/learn @xataio/Xataform
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

:warning: Xataform is deprecated and shuts down on December 13, 2023 :warning:

Due to the use of object columns in the schema, which will no longer be available after December 13 2023, Xataform stops working and will not be maintained by Xata. If you are using the object column type, please make sure to migrate away before the end date following the migration guide.


<p align="center"> <a href="https://github.com/xataio/xataform"> <img src="media/xataform-logo@2x.png?raw=true" alt="XataForm logo" width="300" /> </a> </p> <h1 align="center">Create, share and analyse your forms</h1> <p align="center"> <img alt="Github Checks" src="https://badgen.net/github/checks/xataio/xataform/main"/> <a href="https://github.com/xataio/xataform/blob/main/LICENSE"> <img alt="MIT License" src="https://img.shields.io/github/license/xataio/xataform"/> </a> <a href="https://xata.io/discord"> <img alt="Discord" src="https://img.shields.io/discord/996791218879086662.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2" /> </a> </p>

Open Source alternative to Typeform

You can read more about the project and its motivation in our blog post.

If you prefer a guided tour, here is a loom.

To create new forms, you can use our instance at: https://xataform.com/

Or deploy your own following the instructions below.

Prerequisite

In order to run the project, you will need two accounts (free):

  • A Xata account for the database - https://xata.io/
  • A Clerk account for the authentication layer - https://clerk.com/

You will also need to have Node 18 installed, and pnpm is a nice to have.

Getting started

  1. Install the dependencies: pnpm install

  2. Initialize your database: pnpm xata:init

  3. Add Clerk keys in .env.local: https://clerk.com/docs/nextjs/set-environment-keys

  4. At this stage, you should have 3 values in your .env.local

    # Xata
    XATA_API_KEY=xau_…
    
    # Clerk
    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_…
    CLERK_SECRET_KEY=sk_…
    

    If not, please check that you picked nextjs in clerk.

  5. Start the dev server: pnpm dev

Architecture

This application is built on top of Xata, Next.js, tRPC and Clerk.

Server side

Everything is defined in /server:

  • /server/services: you can find any external service. This is a simple dependency injection pattern to allow easy stubbing in our unit tests. Therefore, you don’t need any network needs to run the test and every tests will stay fast.

  • /server/routers: All business is there, divide per module.

Pages

A classic Next.js application pattern, every file is a page.

View on GitHub
GitHub Stars72
CategoryDevelopment
Updated2mo ago
Forks1

Languages

TypeScript

Security Score

95/100

Audited on Jan 17, 2026

No findings