Transform Wikipedia articles into beautiful, interactive timelines powered by AI
Live Demo • Features • Installation • Usage
Can be found with deepwiki/wikitimeline
- 🔄 Instant Conversion: Transform any Wikipedia article into a timeline in seconds
- 🤖 AI-Powered: Utilizes Google Gemini to extract and organize chronological events
- 📱 Responsive Design: Beautiful interface that works on all devices
- 🌓 Dark Mode: Seamless experience in both light and dark themes
- 🔄 Multi-Timeline: Compare multiple timelines side by side
- 🎯 Interactive: Zoom, scroll, and explore events interactively
- Clone the repository:
git clone https://github.com/wenzhenl/wikitimeline.git
cd wikitimeline
- Install dependencies:
npm install
- Set up environment variables:
cp .env.example .env.development.local
-
Configure your environment variables:
- Get a Gemini API key from Google AI Studio
- Set up Vercel KV storage:
- Install Vercel CLI:
npm i -g vercel
- Link your project:
vercel link
- Create a KV storage in Vercel Dashboard
- Connect KV to your project
- Pull environment variables:
vercel env pull .env.development.local
- Install Vercel CLI:
-
Run the development server:
npm run dev
- Deploy to Vercel:
vercel deploy
- Configure production environment variables in Vercel Dashboard:
- Add all variables from
.env.example
- Connect Vercel KV storage
- Add all variables from
- Visit the homepage
- Search for any Wikipedia topic
- Select from the autocomplete suggestions
- Click "Generate Timeline" to view your interactive timeline
- For multiple timelines, keep adding topics before generating
-
George Washington & Qianlong Emperor - Two great leaders, two empires, one era
-
The Three Titans - Renaissance masters who shaped art history
-
The Poet Saints - China's greatest poets of the Golden Age
- Framework: Next.js 14 with App Router
- Styling: Tailwind CSS
- Database: Vercel KV (Redis)
- AI: Cursor/Claude for development, Gemini for timeline generation
- Deployment: Vercel
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.