Skip to content

yliu00/mmcalendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Memento Mori Calendar

Overview

Memento Mori Calendar is a Vivaldi-specific browser mod that adds an inspirational calendar to your browser’s start page. It visually represents the weeks of your life, encouraging reflection on time and life expectancy.

Note: This mod is designed specifically for Vivaldi and relies on Vivaldi’s support for custom modifications.
It is not guaranteed to work on other browsers, but you are welcome to experiment and try loading it elsewhere.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/memento-mori-calendar.git
  2. Navigate to the project directory:
    cd memento-mori-calendar

Usage

  1. Configure your calendar:
    Open the mmcalendar.js file and set your birth date. (Optionally, customize your life chapters and color theme as described in the Configuration section below.)
  2. Locate your Vivaldi installation directory:
    Go to <YOURVIVALDIDIRECTORY>\Application\<VERSION>\resources\vivaldi
  3. Back up window.html:
    Before making any changes, make a copy of window.html in a safe location.
  4. Modify window.html:
    • Open window.html in a text editor.
    • Inside the <body> element, add the following line:
      <script src="mmcalendar.js"></script>
  5. Copy your script:
    Place your customized mmcalendar.js in the same directory as window.html.
  6. Restart Vivaldi:
    Close and reopen Vivaldi. The calendar will automatically appear on your start page.

Warning: Vivaldi updates may overwrite window.html. After updating, you may need to repeat steps 3–6.

Configuration

  • Set your birthday:
    Edit the following line in mmcalendar.js:
    const myBirthDay = 'YYYY-MM-DD'; // <-- Replace with your birthday
  • Customize chapters and colors:
    Modify chaptersArray and colorTheme in the same file to personalize your calendar.

Helpful Tools

Estimate your life expectancy for configuring the calendar with these tools:

Contributing

Contributions are welcome! Please submit issues or pull requests if you have suggestions or improvements.

License

This project is licensed under the MIT License.

About

Memento Mori Calendar for Vivaldi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors