Skip to content

pietersartain/impulse

Repository files navigation

Impulse

I love Momentum Dash. I love how serene I feel just staring at the gorgeous backgrounds and how inspired I get from the quotes, but it's only available as a plugin for Chrome or Firefox. I wanted to be able to get some serenity and inspiration for those times when I'm not using either of those (eg on mobile) as well.

This is a Momentum Dash-inspired home page, that's restricted to displaying a background (with credits), a quote and a greeting/time. If you want all the other great features, I highly recommend going for the original and the best.

Deployment

  1. Copy .env.example to .env.local and add your desired greeting name.
  2. Run pnpm build to generate the static files in ./dist.
  3. Copy ./dist somewhere online and set your browser's home page to the index file that's there.

Development

  1. Install dependencies with pnpm install.
  2. Run development mode with pnpm dev.

Generating image lists from flickr

To generate a new set of images from flickr galleries:

  1. Install dependencies with pnpm install.
  2. Copy .env.example to .env.local and add your flickr API key.
  3. Populate ./scripts/imagegen.js with the gallery IDs you want to use.
  4. Run pnpm imgen.
  5. Copy ./scripts/images.ts into ./src/data/images.ts.
  6. Deploy as above.

In order to get gallery IDs, paste the gallery link into lookupGallery API explorer and look for the "id" part of the gallery tag.

References: https://idratherbewriting.com/learnapidoc/docapis_flickr_example.html

About

This is a Momentum Dash-inspired home page, that's restricted to displaying a background (with credits), a quote and a greeting/time.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors