Skip to content

Track the cycles consumption of canister smart contracts on the Internet Computer

License

Notifications You must be signed in to change notification settings

peterpeterparker/cycles.watch

Repository files navigation

Cycles.watch

Cycles.watch


GitHub release

Cycles.watch

Cycles.watch tracks the cycles' consumption of your canisters (on the Internet Computer). It refreshes periodically their state and notifies you when they are about to get out of resources.

Its usage is anonymous and settings are saved offline - i.e. in your browser (IndexedDB API).

Notifications are optional and thrown locally (Notifications API). Please note that on the contrary to "Push Notifications", these are emitted only if the dapp is opened on your device (regardless if active, idle or in the background).

Hacking

How to run locally the application.

Prerequisite

Make sure you have a recent version of Node.js installed (LTS recommended).

Clone the repo

Clone the repo (or a fork) and install the dependencies.

git clone https://github.com/peterpeterparker/cycles.watch
cd cycles.watch
npm ci

Run locally

To start the local dev server, run following command:

npm run dev

Per default, it will interact with mainnet.

License

Cycles.watch is released under the GNU Affero General Public License Version 3 (AGPLv3) or any later version. See GNU-AGPL-3.0 and COPYING for more details.