π¦ ClawHub
Alexandrie
by @eth3rnit3
CRUD operations for Alexandrie, a self-hosted Markdown note-taking app. Create, read, update, delete and search notes via REST API.
TERMINAL
clawhub install alexandrieπ About This Skill
Alexandrie Skill
Interact with Alexandrie note-taking app at https://notes.eth3rnit3.org
Configuration
https://api-notes.eth3rnit3.org/apihttps://notes.eth3rnit3.orgeth3rnit3671423603690045441/home/eth3rnit3/clawd/.env as ALEXANDRIE_PASSWORDUsage
Use the alexandrie.sh script for all operations:
/home/eth3rnit3/clawd/skills/alexandrie/alexandrie.sh [args]
Commands
Authentication
./alexandrie.sh login # Login and get token
./alexandrie.sh logout # Logout
Notes (Nodes)
./alexandrie.sh list # List all notes/categories
./alexandrie.sh get # Get a specific note with content
./alexandrie.sh search # Search notes
./alexandrie.sh create [content] [parentId] # Create a note
./alexandrie.sh update [content] # Update a note
./alexandrie.sh delete # Delete a note
Node Roles
Current Structure
671425872858841091 - Perso (category)671426069886271492 - Test (document)Examples
List all notes
./alexandrie.sh login
./alexandrie.sh list
Read a note
./alexandrie.sh get 671426069886271492
Returns: "Salut, ceci est un test"
Create a note
./alexandrie.sh create "My Note" "# Title\n\nContent here" 671425872858841091
Search
./alexandrie.sh search "test"
API Reference
Base URL: https://api-notes.eth3rnit3.org/api
Endpoints
POST /auth - Login (body: {"username": "...", "password": "..."})POST /auth/logout - LogoutGET /nodes/user/:userId - List user's nodesGET /nodes/:nodeId - Get node by ID (includes content)GET /nodes/search?q=query - Search nodesPOST /nodes - Create nodePUT /nodes/:nodeId - Update nodeDELETE /nodes/:nodeId - Delete nodeAuthentication
JWT token stored in cookies after login (/tmp/alexandrie_cookies.txt).
π‘ Examples
List all notes
./alexandrie.sh login
./alexandrie.sh list
Read a note
./alexandrie.sh get 671426069886271492
Returns: "Salut, ceci est un test"
Create a note
./alexandrie.sh create "My Note" "# Title\n\nContent here" 671425872858841091
Search
./alexandrie.sh search "test"
βοΈ Configuration
https://api-notes.eth3rnit3.org/apihttps://notes.eth3rnit3.orgeth3rnit3671423603690045441/home/eth3rnit3/clawd/.env as ALEXANDRIE_PASSWORD