An open API service indexing awesome lists of open source software.

https://github.com/pybash1/n0

No Zero Days - Habit Tracker
https://github.com/pybash1/n0

Last synced: about 1 month ago
JSON representation

No Zero Days - Habit Tracker

Awesome Lists containing this project

README

          

# n0

**n0** or No Zero Days is a type of habit tracker or habit streaks tracker primarily meant to be self hosted.
Originally built for [@soulninja](https://twitter.com/_soulninja), later made open source.

A Public version is available [here](https://n0.pybash.xyz). But keep in mind, data stored is permanent(except if i wish to delete), but data is accessible only via your randomly generated user id. This id is auto generated when you first visit the site and resides at `localStorage.userid`. If you lose this id, your data cannot be retrieved. [ this applies to the public version only. ]

---

### How to Self Host

Deploy with Vercel

The easiest way to self host this is on [Vercel](https://vercel.com). You can do so simply by clicking the button above, and configuring the environment variables. You can also, manually clone the repository, and deploy to Vercel, but if you're really gonna do that, I'll assume you know what you're doing and so I'm not gonna provide instructions for that(I'm also lazy).

Here's the environment variable setup:

### Env

You need a [Deta](https://deta.space) Collections data key for the app to work. Get it by signing up on Deta and following their documentation.

```sh
# Deta
DETA_API_KEY=""

# Self Host
SELF_HOST=1 # 1 means true, it wont work if its set to 0
```

---

Now, if you're gonna deploy this to something other than Vercel(I don't know why you would), then you're on you own. Firstly, because I'm too lazy write the instructions, and also because you shouldn't.