This project is a modern web chat application inspired by the classic AOL Instant Messenger (AIM) interface. It demonstrates how to build a nostalgic, retro-themed chat UI using Next.js, React, and Tailwind CSS, with real-time agent interaction.
- AIM-style Buddy List home screen
- AIM-style chat window with online indicator, retro fonts, and colored usernames
- Responsive, accessible, and easy to customize
- Powered by Next.js, React, and Tailwind CSS
This project uses the following API endpoints:
- List agents:
https://agents-api.doodles.app/agents
Used insrc/app/page.tsx
to fetch and display the buddy list. - Agent details:
https://agents-api.doodles.app/agents/[agentId]
Used insrc/app/agents/[agentId]/chat/page.tsx
to fetch agent info. - Send message:
https://agents-api.doodles.app/[agentId]/user/message
Used insrc/app/agents/[agentId]/chat/page.tsx
to send and receive chat messages.
API credentials (mini-app id and secret) are set directly in the fetch headers in src/app/agents/[agentId]/chat/page.tsx
:
headers: {
"Content-Type": "application/json",
"x-mini-app-id": "YOUR_MINI_APP_ID",
"x-mini-app-secret": "YOUR_MINI_APP_SECRET",
}
Replace these values with your own credentials as needed.
The AIM-inspired Buddy List, showing all available agents.
The chat window, styled after classic AIM conversations.
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open your browser: Visit http://localhost:3000 to view the app.
MIT