NCN Portal is a Claude web interface developed using Next.js and the Claude Chat API. It's compatible with both ClaudeAI.
- Deploy a custom Claude web interface that supports markdown, prompt storage, and multi-person chats.
- Create a private, web-based Claude for use among friends without sharing your API key.
- Clear and expandable codebase, ideal as a starting point for your next AI Next.js project.
- You need an Claude account.
- Solna Wallet installed.
NEXT_PUBLIC_API_BASE_URL=http://localhost:8080
NEXT_PUBLIC_SOLANA_CHAIN=solana:devnet
For OpenAI account users:
docker run -d -p 3000:3000 \
-e OPENAI_API_KEY="<REPLACE-ME>" \
blrchen/chatgpt-lite
For Azure OpenAI account users:
docker run -d -p 3000:3000 \
-e AZURE_OPENAI_API_BASE_URL="<REPLACE-ME>" \
-e AZURE_OPENAI_API_KEY="<REPLACE-ME>" \
-e AZURE_OPENAI_DEPLOYMENT="<REPLACE-ME>" \
blrchen/chatgpt-lite
- Install NodeJS 20.
- Clone the repository.
- Install dependencies with
yarn
. - Copy
.env.example
to.env.local
and update environment variables. - Start the application using
yarn dev
. - Visit
http://localhost:3000
in your browser.
- Clone the repository and navigate to the root directory.
- Update the
OPENAI_API_KEY
environment variable in thedocker-compose.yml
file. - Build the application using
docker-compose build .
. - Start it by running
docker-compose up -d
.
Required environment variables:
For OpenAI account:
Name | Description | Default Value |
---|---|---|
NEXT_PUBLIC_API_BASE_URL | Interact with backend | http://localhost:3000 |