npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

you-can-quit

v1.2.4

Published

A tool to support your progress in quitting whatever your bad habit is.

Downloads

13

Readme

you-can-quit

release last commit license contributions welcome

This app is a tool to track your progress and encourage you on the way of quitting a bad habit. In a simple calendar view, you can set past days successful or failed. Based on this data, you can see encouraging stats about the number of days you succeeded in. Plus you can earn special achievements to reach different goals and keep you motivated on your way.

you-can-quit in short: UCQ, which also means (if you pronounce it): You Seek You. It's about you, making an impact on your own life.

This web app is based on Vue.js and Dexie.js.

ℹ This app values privacy. The data isn't meant to be synchronized between different devices, therefore local browser storage (IndexedDB) is used to store your data. However you have the possibility to export your data and import it on another browser or device.

screenshot

Features

  • 📅 Simple month and year views to see successful and failed days (and possible patterns) at one glance
  • 📈 Stats section showing current and longest streak (successful days in a row) and the total number of successful days
  • 🏆 Earn encouraging and funny achievements by reaching various goals, see progress of each achievement
  • 🌐 UI supports multiple languages (currently only English and German)
  • ⌨ Navigation with shortcuts:
    • / to go to previous/next month
    • CTRL+ / CTRL+ to go to previous/next year
    • R to reset to current month
  • 💾 Provides administration section to backup, import or clear database
  • ⚡ Made for offline usage, the data is stored only in your local browsers
  • 🔒 Values privacy - no synchronisation of data around the web

Get started

Just head over to https://youcanqu.it and start your journey.

Build it yourself

  1. Get all files

    git clone https://github.com/devmount/you-can-quit
  2. Install all dependencies using Yarn

    cd you-can-quit
    yarn
  3. Run the app by ...

    ... either run the you-can-quit/dist/index.html in your browser, e.g.

    firefox dist/index.html&

    ... or start the development server with hot reload at localhost:8080

    yarn serve

    ... or make the production build with minification yourself

    yarn build

Upgrade from 0.x to 1.x

The breaking change in version 1.x is, that the database was switched from Firebase to IndexedDB. This means, it's no longer compatible with your current data. If you rather want to migrate your data instead of starting from scratch (depends on how much days you already used this app), you can do the following:

  1. Export your Firebase data into a local .json file in the following format:

    {
      "2019-02-02": 1,
      "2019-07-25": -1,
      "2019-01-10": -1,
      "2019-11-09": 1
    }

    The order of dates doesn't matter. If you have any problems to do so, please create an issue.

  2. Update app files and dependencies

    cd you-can-quit
    git pull
    yarn
  3. Run the app (see instructions above in the Get started section) and import this data file in the administration section at the bottom.


you-can-quit is completely free to use. If you enjoy it, please consider contributing, donating via Paypal or become a sponsor for further development. :green_heart: