A daily word game where you guess the book from its first sentence. Like Wordle, but for book lovers!
- Daily Puzzle: A new book to guess every day
- Progressive Hints: Get hints (year, genre, length, author) after each wrong guess
- 5 Attempts: You have 5 tries to guess correctly
- Share Results: Share your results with friends
- Statistics: Track your game history and stats
- Local Storage: Your game history is saved in your browser
- Export Data: Download your game history as JSON or CSV
- Read the first sentence of the book
- Type your guess and select from the autocomplete suggestions
- After each wrong guess, you'll unlock a new hint
- Try to guess the book in 5 attempts or fewer!
- Node.js 18 or higher
- npm or yarn
-
Clone the repository:
git clone https://github.com/yourusername/bookdle.git cd bookdle -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:5173/ in your browser
npm run buildThe built files will be in the dist directory.
npm run previewThis project is configured to automatically deploy to GitHub Pages using GitHub Actions.
- Go to your GitHub repository settings
- Navigate to Pages under the Code and automation section
- Under Build and deployment:
- Set Source to "GitHub Actions"
- Push to the
mainbranch, and the site will automatically deploy
If you prefer to deploy manually:
npm run build
# Then upload the contents of the `dist` folder to your hosting providerbookdle/
├── public/
│ └── data/
│ └── puzzles.json # All puzzle data
├── src/
│ ├── components/ # React components
│ ├── hooks/ # Custom React hooks
│ ├── types/ # TypeScript type definitions
│ ├── utils/ # Utility functions
│ ├── App.tsx # Main app component
│ └── main.tsx # Entry point
├── .github/
│ └── workflows/
│ └── deploy.yml # GitHub Actions deployment
└── package.json
To add new puzzles, edit public/data/puzzles.json:
{
"puzzles": [
{
"id": 1,
"date": "2026-07-14",
"firstSentence": "It was a bright cold day in April, and the clocks were striking thirteen.",
"book": "1984",
"author": "George Orwell",
"year": 1949,
"genre": "Dystopian Fiction",
"length": "Medium (328 pages)"
}
]
}- React 19 - UI framework
- TypeScript - Type safety
- Vite - Build tool and dev server
- GitHub Pages - Hosting
- GitHub Actions - CI/CD
MIT
Contributions are welcome! Please feel free to submit a Pull Request.