
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
create-insforge-app
Advanced tools
Scaffold a new React, Next.js, or React Router application with modern tooling and best practices.
Create a new project with a specific name:
npx create-insforge-app my-project
Or specify the framework directly:
npx create-insforge-app my-project --frame react
The CLI also supports environment variable injection:
npx create-insforge-app my-project --frame react --base-url https://api.example.com --anon-key your_key_here
The project will be created in a new directory named after your project.
[project-name] - Name of the project (optional, will prompt if not provided)-f, --frame <framework> - Framework to use (react, nextjs, react-router)--base-url <url> - Base URL for your backend API (optional, will be written to .env)--anon-key <key> - Anonymous key (optional, will be written to .env)--skip-install - Skip automatic dependency installationIf you don't provide all options, the CLI will prompt you:
npx create-insforge-app
# ? Project name: (My First InsForge App)
# ? Select a framework:
# > React + Vite
# Next.js
# React + Vite + React Router
Each template includes:
cd my-project
--skip-install):npm install
npm run dev
The templates include environment variable support. Create a .env file (React/React Router) or .env.local file (Next.js) with your configuration:
VITE_INSFORGE_BASE_URL=https://your-app.region.insforge.app
VITE_INSFORGE_ANON_KEY=your_insforge_anon_key_here
NEXT_PUBLIC_INSFORGE_BASE_URL=https://your-app.region.insforge.app
NEXT_PUBLIC_INSFORGE_ANON_KEY=your_insforge_anon_key_here
Note: You can inject these values during project creation using
--base-urland--anon-keyflags.
All templates include the following scripts:
npm run dev - Start development servernpm run build - Build for productionnpm run lint - Run ESLintnpm run preview - Preview production build (Vite templates only)npm start - Start production server (Next.js only).env (React/React Router) or .env.local (Next.js)VITE_NEXT_PUBLIC_If automatic installation fails:
cd my-project
rm -rf node_modules package-lock.json
npm install
If the default port is in use:
npm run dev -- -p 3001my-project/
├── src/
│ ├── App.tsx # Main application component
│ ├── App.css # App styles
│ ├── main.tsx # Application entry point
│ ├── index.css # Global styles with Tailwind
│ └── assets/ # Static assets
├── public/ # Public static files
├── index.html # HTML template
├── package.json
├── tsconfig.json
├── vite.config.ts
└── tailwind.config.js
my-project/
├── src/
│ ├── App.tsx # Router configuration
│ ├── main.tsx # Application entry point
│ ├── index.css # Global styles with Tailwind
│ ├── components/
│ │ └── Layout.tsx # Layout with navigation
│ └── pages/
│ ├── Home.tsx # Home page
│ └── About.tsx # About page
├── public/
├── index.html
├── package.json
└── vite.config.ts
my-project/
├── src/
│ └── app/
│ ├── layout.tsx # Root layout
│ ├── page.tsx # Home page
│ └── globals.css # Global styles with Tailwind
├── public/
├── next.config.ts
├── package.json
└── tsconfig.json
MIT
FAQs
Create a new Insforge app with pre-configured templates
The npm package create-insforge-app receives a total of 12 weekly downloads. As such, create-insforge-app popularity was classified as not popular.
We found that create-insforge-app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.