Skip to content

Repository files navigation

Year in Pixels

Preview

An online journaling tool that uses colors to track your feelings throughout the year. It lets you condense an entire day into a single pixel. By the end of the year, you get a vibrant grid summarizing your entire year.

Features

  • Usable straight away on any device that can access the internet.
  • Fully customizable color scheme to track anything you want.
  • Multi-year support.
  • Fill in a pixel each day that best represents your activity or mood for that day.
  • Export as PNG and JSON, and import a JSON file.
  • Autosave to localStorage with navigator.storage.persist API.

Tech Stack

  • Frontend: Svelte 5
  • Styling: Tailwind CSS
  • Language: TypeScript
  • UI Icons: Lucide
  • Other Utilities: html-to-image
  • Code Formatting: Prettier + prettier-plugin-svelte + prettier-plugin-tailwindcss
  • Build System: Vite

Running locally

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

Before running or developing this project, ensure the following are installed:

  • Node.js: 20.19.0 or higher (recommended: Node 22 LTS)
  • Package manager: npm, pnpm, or yarn
  • Git: for cloning the repository

Installing

  1. Clone the repository:
    git clone https://github.com/Lihu0/year-in-pixels.git
  2. Navigate into the project directory:
    cd year-in-pixels
  3. Install dependencies:
    npm install # npm
    pnpm install # pnpm
    yarn install # yarn

Local Development

Run the website locally with Vite:

npm run dev # npm
pnpm dev # pnpm
yarn dev # yarn

Open your browser and navigate to localhost:5173 (or the port specified in your terminal) to view the site.

Building

To Create your own production version of this site, run:

npm run build # npm
pnpm build # pnpm
yarn build # yarn

Then, you can preview the site by running:

npm run preview # npm
pnpm preview # pnpm
yarn preview # yarn

Licensing

This project is licensed under the MIT license. See LICENSE for more information.

About

An online journaling tool that uses colors to track your feelings throughout the year.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages