网淘吧来吧,欢迎您!

Alexandrie技能使用说明

2026-04-01 新闻来源:网淘吧 围观:16
电脑广告
手机广告

亚历山德里亚笔记技能

在以下地址与亚历山德里亚笔记应用交互https://notes.eth3rnit3.org

配置

  • API 地址https://api-notes.eth3rnit3.org/api
  • 前端地址https://notes.eth3rnit3.org
  • 用户名eth3rnit3
  • 用户ID671423603690045441
  • 密码:存储在/home/eth3rnit3/clawd/.env文件中,变量名为ALEXANDRIE_PASSWORD

使用方法

使用alexandrie.sh脚本进行所有操作:

Alexandrie

/home/eth3rnit3/clawd/skills/alexandrie/alexandrie.sh <command> [args]

命令列表

认证

./alexandrie.sh login                    # Login and get token
./alexandrie.sh logout                   # Logout

笔记(节点)

./alexandrie.sh list                     # List all notes/categories
./alexandrie.sh get <nodeId>             # Get a specific note with content
./alexandrie.sh search <query>           # Search notes
./alexandrie.sh create <name> [content] [parentId]  # Create a note
./alexandrie.sh update <nodeId> <name> [content]    # Update a note
./alexandrie.sh delete <nodeId>          # Delete a note

节点角色

  • 角色:1= 分类/工作空间(容器)
  • 角色:3= 文档(包含内容的笔记)

当前结构

  • 671425872858841091-个人(分类)
  • 671426069886271492-测试(文档)

示例

列出所有笔记

./alexandrie.sh login
./alexandrie.sh list

读取笔记

./alexandrie.sh get 671426069886271492
# Returns: "Salut, ceci est un **test**"

创建笔记

./alexandrie.sh create "My Note" "# Title\n\nContent here" 671425872858841091

搜索

./alexandrie.sh search "test"

API 参考

基础 URL:https://api-notes.eth3rnit3.org/api

端点

  • POST /auth- 登录(请求体:{"username": "...", "password": "..."}
  • POST /auth/logout- 登出
  • GET /nodes/user/:userId- 列出用户节点
  • GET /nodes/:nodeId- 通过ID获取节点(包含内容)
  • GET /nodes/search?q=query- 搜索节点
  • POST /nodes- 创建节点
  • PUT /nodes/:nodeId- 更新节点
  • DELETE /nodes/:nodeId- 删除节点

认证

登录后JWT令牌存储在cookies中(/tmp/alexandrie_cookies.txt)。

免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏

文章底部电脑广告
手机广告位-内容正文底部

相关文章

您是本站第393687名访客 今日有1篇新文章/评论