A simple Progressive Web App for daily journaling and self-reflection.
- Daily prompts: Reflect on what went well and what was challenging
- Works offline: Install as a PWA for native app experience
- Form persistence: Changes persist until you close the app
- History: View, edit, and delete past reflections
- Backup: Export/import your data
- Mobile-friendly: Touch gestures and responsive design
- Open in your web browser
- Install as PWA when prompted (optional)
- Start reflecting!
git clone https://github.com/herrbenesch/daily-reflection.git
cd daily-reflection
# Serve with any static server
python3 -m http.server 8080
# or
npx serve .Open http://localhost:8080 in your browser.
- Write reflections: Answer "What has been great today?" and "What has been challenging today?"
- Navigate dates: Use the date picker to reflect on any day
- Manage history: View past reflections below the form
- Backup data: Use the menu (☰) to export/import your reflections
Built with: Vanilla HTML, CSS, JavaScript
Storage: Browser LocalStorage
PWA: Service Worker + Web App Manifest
├── index.html # Main app
├── backup.html # Backup management
├── app.js # Core logic
├── style.css # Styling
├── sw.js # Service Worker
├── manifest.json # PWA manifest
└── icons/ # App icons
Reflections are stored as:
{
date: "2025-07-26T00:00:00.000Z",
great: "Positive reflection text",
shit: "Challenge reflection text"
}- Fork and clone the repository
- Make your changes
- Test on mobile and desktop
- Submit a pull request
Keep changes simple and focused on the core reflection experience.
Apache License 2.0
