一个简单的命令行笔记本
Dnote 是一个简单的命令行笔记本。单一二进制文件,无依赖。自2017年起。
你的笔记存储在一个 SQLite 文件中——可移植、可搜索,完全由你掌控。可通过自托管服务器(支持REST API访问)在设备间进行可选同步。
# Add a note (or omit -c to launch your editor)
dnote add linux -c "Check disk usage with df -h"
# View notes in a book
dnote view linux
# Full-text search
dnote find "disk usage"
# Sync notes
dnote sync# Linux, macOS, FreeBSD, Windows
curl -s https://www.getdnote.com/install | sh
# macOS with Homebrew
brew install dnote或 下载二进制文件。
服务器是一个内嵌SQLite的二进制文件。无需设置数据库。
如果使用 Docker,创建一个 compose.yml:
services:
dnote:
image: dnote/dnote:latest
container_name: dnote
ports:
- 3001:3001
volumes:
- ./dnote_data:/data
restart: unless-stopped然后运行:
docker-compose up -d或参阅 指南 进行二进制安装。
参见 Dnote文档。
暂无开放 Issues,或尚未同步最近议题。