hacknote-0.1.0 is not a library.
hacknote-cli
A command-line interface for HackNote — create, read, update, and delete notes, manage projects and tags, and search across your team, all from the terminal.
Installation
Verify:
Quick Start
1. Get an API Key
Log in to HackNote → Account Settings → API Tokens → create a new token.
2. Set your API key
3. Find your Team ID
┌──────────────────┬──────────┬────────┬─────────┐
│ ID │ Name │ Slug │ Role │
├──────────────────┼──────────┼────────┼─────────┤
│ 17c261f7d8fWbdml │ My Team │ myteam │ Owner │
└──────────────────┴──────────┴────────┴─────────┘
Finding IDs from the URL
HackNote URLs follow this pattern:
https://app.hacknote.co/@team/<teamId>/@project/<projectKey>/<noteKey>
Example:
https://app.hacknote.co/@team/17c261f7d8fWbdml/@project/19c4c1e9341x5h8i/19c4fdb4ff9WIBpm
^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
teamId projectKey noteKey
Command Reference
config
profile
teams
projects
Project lists are read in real time over WebSocket.
notes
Listing, updating, and deleting notes use WebSocket. Creating notes and reading content use the REST API.
List notes
Read note content
Fetches the latest content from version history:
Use --raw with redirection to save to a file:
Create a note
# Inline content
# From a file
# From stdin
|
# Place in a folder
Update a note
|
Delete a note
Version history
search
tags
Updating