- Go to Cosmic JS and create a new Bucket to store your notes.
- Download the Note to Self repo:
git clone https://github.com/cosmicjs/notetoself
cd notetoself
yarn
- Edit the config part of
index.js
to point to your Cosmic JS Bucket Slug
config.bucket = {
slug: 'your-bucket-slug', // add your slug here
read_key: '', // add read key if added to Cosmic JS > Your Bucket > Settings
write_key: '' // add write key if added to Cosmic JS > Your Bucket > Settings
}
- Install the app globally
npm install -g
- Now you can view / create / edit / delete notes with the following command:
notetoself
Your notes are now available to any device and any programming language through the Cosmic JS API.