Memento Mori is not just another website blocker. It's a philosophy. By visualizing your estimated remaining time on Earth and contrasting it with the time you waste on distracting sites, it provides a powerful motivation to stay focused on what truly matters.
- Life Expectancy Countdown: Visualizes your estimated remaining days based on actuarial data.
- Real-time Tracking: Tracks time spent on distracting websites vs. productive work.
- Strict Mode: Prevents disabling the extension or unblocking sites without a PIN.
- Smart Blocking: Blocks sites during scheduled focus hours.
- Daily Reflections: Notifications to remind you of your mortality and goals.
- Clone this repository:
git clone https://github.com/AmazingKeymaster/memento-mori.git
- Open Chrome and navigate to
chrome://extensions/. - Enable Developer mode in the top right corner.
- Click Load unpacked.
- Select the directory where you cloned the repository.
manifest.json: Extension configuration and permissions.background.js: Service worker for background tasks (tracking, alarms, notifications).content.js: Script injected into web pages for interaction.popup.html/popup.js: The main extension popup UI.options.html/options.js: Settings page for configuring birthdate, blocking schedules, etc.blocked.html: Page shown when a site is blocked.utils.js: Shared utility functions and Logger.
- Popup: Right-click the extension icon -> Inspect Popup.
- Background Service: Go to
chrome://extensions/, find Memento Mori, and click "service worker". - Content Script: Open Developer Tools (F12) on any web page.
All data (birthdate, stats, settings) is stored locally on your device using chrome.storage.local. No data is sent to external servers. see Privacy Policy for more details
MIT License - see LICENSE for details.
