百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

router

> 前端框架
开源

Router.so 是一个无头的表单处理器,可为注重营销的开发人员提供路由功能。

380 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

Router.so 是一个无头的表单处理器,可为注重营销的开发人员提供路由功能。

Router.so / Open Source Form Backend

Description

This is a simple router for forms. Watch a Demo

Router supports optional first-class forms without changing its headless endpoint contract. Forms can be published on forms.router.so, embedded in an approved website, or rendered through the included WordPress block and shortcode. See the Forms implementation notes and release runbook.

Self-Hosting router

Prerequisites

Before starting, ensure you have the following:

  • An account with Resend
  • An account with Vercel
  • A PostgreSQL database (we recommend Vercel Postgres)

Environment Variables

After creating your accounts, update your .env.example to be .env.local for running the application locally. Then, update the keys for each value.

Step-by-Step Instructions

  1. Clone the Repository

    bash
    git clone https://github.com/routerso/router.git
    cd router/main

Without Docker

  1. Install Dependencies

    This project uses pnpm (see packageManager in package.json). Install with pnpm so the pnpm.overrides security pins are applied — installing with npm or yarn ignores them and pulls vulnerable transitive dependencies.

    bash
    pnpm install --frozen-lockfile
  2. Set Up Environment Variables

    Ensure your .env file is correctly configured as mentioned above.

  3. Generate the Database Migrations

    bash
    pnpm db:generate
  4. Run the Database Migrations

    bash
    pnpm db:migrate
  5. Start the Development Server

    bash
    pnpm dev

With docker

  1. Set Up Environment Variables

    Ensure your .env file is correctly configured as mentioned above.

  2. **Run Docker Command

    bash
    docker compose up

Deploying to Vercel

  • Push your code to a GitHub repository.
  • Connect your repository to Vercel.
  • Set the environment variables in Vercel's dashboard under "Settings > Environment Variables".

Dependency Maintenance

Run pnpm audit to check for known vulnerabilities.

The pnpm.overrides block in package.json force-resolves transitive dependencies that a direct dependency still pins to a vulnerable version (for example, next pins postcss 8.4.31, and tailwindcss reaches a vulnerable glob via sucrase). Each entry can be removed once the parent package ships a release that depends on a patched version on its own — re-run pnpm audit after removing one to confirm.

Requires Node.js >= 20.9.0.

Additional Resources

  • Vercel Documentation
  • Resend Documentation

For any issues or questions, please open an issue on the GitHub repository.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

TypeScriptform-builderformslead-routernext-js

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架