A beautiful, ChatGPT-style AI chat app powered by Claude (Anthropic).
Real-time streaming responses, conversation history, and a polished dark UI.
- Node.js v18 or higher
- An Anthropic API key
git clone https://github.com/YOUR_USERNAME/lingai.git
cd lingainpm installcp .env.example .envOpen .env and replace your_api_key_here with your real Anthropic API key:
ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxxxxx
PORT=3000
npm startOpen your browser at → http://localhost:3000
For development with auto-reload:
npm run devlingai/
├── public/
│ └── index.html # Full frontend (HTML + CSS + JS)
├── server.js # Express backend with streaming API
├── package.json
├── .env.example # Copy to .env and add your key
├── .gitignore
└── README.md
- Go to https://github.com/new
- Name it
lingai - Leave it empty (no README)
- Click Create repository
cd lingai
git init
git add .
git commit -m "Initial commit — LingAI"
git branch -M main
git remote add origin https://github.com/YOUR_USERNAME/lingai.git
git push -u origin main- Go to https://render.com and sign in with GitHub
- Click New → Web Service
- Select your
lingairepo - Settings:
- Build Command:
npm install - Start Command:
npm start - Environment: Node
- Build Command:
- Add environment variable:
ANTHROPIC_API_KEY= your key - Click Deploy — you get a live URL in ~2 minutes!
- Go to https://railway.app
- New Project → Deploy from GitHub repo
- Add
ANTHROPIC_API_KEYin Variables tab - Done — Railway auto-detects Node and deploys
npm install -g flyctl
flyctl auth login
flyctl launch
flyctl secrets set ANTHROPIC_API_KEY=sk-ant-xxxxxxxx
flyctl deploy- 💬 Real-time streaming responses
- 🧠 Powered by Claude Sonnet 4 (Anthropic)
- 💾 Conversation history saved in browser
- 🌙 Elegant dark UI with animations
- 📱 Responsive layout
- ⚡ Lightweight — no build tools needed
- Go to https://console.anthropic.com/
- Sign up / log in
- Navigate to API Keys
- Click Create Key
- Copy and paste into your
.envfile
MIT — free to use, modify, and distribute.