现在记事本有两大流派:Obsidian 和Notion,同时据说logseq也很不错
由于在FreeBSD下后两种都没有相关ports,所以优先尝试使用Obsidian
Obsidian简介
Obsidian是基于Markdown文件 的本地 知识管理软件,并且开发者承诺Obsidian对于个人使用者永久免费。
在FreeBSD中make安装Obsidian
Obsidian在官网页面没有找到源码下载,但是它在FreeBSD ports里面有,make install的时候会自动下载。有时候碰到github抽风了下载失败可以多尝试几次。地址是这里:
https://github.com/obsidianmd/obsidian-releases/releases/download/v1.4.16/obsidian-1.4.16.tar.gz
bash
cd /usr/ports/textproc/obsidian
make install
安装完成后输出:
bash
cp -f /usr/local/share/electron25/electron /usr/ports/textproc/obsidian/work/stage/usr/local/share/obsidian/obsidian
====> Compressing man pages (compress-man)
===> Installing for obsidian-1.4.16_1
===> Checking if obsidian is already installed
===> Registering installation for obsidian-1.4.16_1
Installing obsidian-1.4.16_1...
==> Running trigger: desktop-file-utils.ucl
Building cache database of MIME types
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/share/obsidian/obsidian
If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.
For more information, and contact details about the security
status of this software, see the following webpage:
https://obsidian.md
启动执行obsidian
运行Obsidian的时候需要非root账户,否则需要加上--no-sandbox参数。 运行时还需要GUI,所以不能在控制台执行,而是要在Xwindows下选择"运行程序"来执行。
运行后,按照提示指定仓库目录即可开始使用了!整个界面非常清爽,后面有了使用经验再来添加信息。
Obsidian插件相关
首先碰到了第三方插件无法浏览的问题,可以尝试用这个插件试试:https://gitee.com/juqkai/obsidian-proxy-github/releases/tag/v1.16.0
下载后,将其放入日记目录里,比如日记配置名字叫demo,那么目录就是demo/.obsidian/plugins/ ,如果没有plugins,可以自己手工创建一个。当然这个插件本身也是时而好用,时而不好用。
其它相关程序介绍
etherpad-lite star15.3k
Etherpad - 在线文档协作编辑工具
Etherpad 是一个线上共制平台,支持多人实时对一份文件修改,也同时看到其他人的修改。
GitHub - ether/etherpad-lite: Etherpad: A modern really-real-time collaborative document editor.
安装方法:
git clone --branch master https://github.com/ether/etherpad-lite.git &&
cd etherpad-lite &&
src/bin/run.sh
最后打开:open http://127.0.0.1:9001 in your browser.
windows直接下载软件:Etherpad