newOS for Developers
Getting Started
Set up your local NewOS development environment.
Prerequisites
RequiredNode.js 18+ and pnpm
RequiredGit CLI
OptionalGitHub CLI (gh) for repository access
Installation
1. Clone the repository
git clone https://github.com/new-foundation/newos-web.git
cd newos-web2. Install dependencies
pnpm install3. Set up environment
cp apps/web/.env.example apps/web/.env.local
# Edit .env.local with your API keysEnvironment Variables
NEXT_PUBLIC_NEWGRAPH_API_URLNewgraph API endpoint
NEXT_PUBLIC_FIREBASE_CONFIGFirebase config for auth
NEXT_PUBLIC_SITE_URLYour deployment URL
Running the Dev Server
cd apps/web
pnpm dev
# Open http://localhost:3000Project Structure
newos-web/
├── apps/
│ └── web/ # Main Next.js app
│ ├── Components/ # UI components
│ ├── hooks/ # React hooks
│ ├── pages/ # Next.js routes
│ └── utils/ # Helper functions
└── packages/
└── newgraph-signals/ # API client library
└── src/actions/ # API action modules