群晖Dokcer部署免费开源笔记应用Memos,全平台随时记录
工作生活中,一直有临时记录的需求,通常都会使用微信文件传输助手来记录,可是一脱离微信环境,记录的东西要查阅或者下载下来,总还是挺麻烦。
有没有一款工具,能够轻松将临时笔记、图片、链接都记录下来,且在全平台都能随时查阅、下载呢?今天给大家介绍的就是一款开源、免费、界面美观的工具——Memos。
一、什么是Memos?
Memos is a privacy-first, lightweight note-taking service. Easily capture and share your great thoughts.
Memos是一款隐私优先的轻量级笔记服务。轻松捕捉和分享您的好想法。
产品亮点:
Open source and free forever. Embrace a future where creativity knows no boundaries with our open-source solution – free today, tomorrow, and always. 永远开源和免费。拥抱一个创造力与我们的开源解决方案没有界限的未来——今天、明天和永远免费。
Self-hosting with Docker in just seconds. Enjoy the flexibility, scalability, and ease of setup that Docker provides, allowing you to have full control over your data and privacy. 在几秒钟内使用Docker进行自托管。享受Docker提供的灵活性、可扩展性和易于设置性,让您可以完全控制您的数据和隐私。
Pure text with added Markdown support. Say goodbye to the overwhelming mental burden of rich formatting and embrace a minimalist approach. 纯文本,增加Markdown支持。告别丰富格式的压倒性精神负担,拥抱极简主义方法。
Customize and share your notes effortlessly. With our intuitive sharing features, you can easily collaborate and distribute your notes with others. 轻松自定义和分享。借助直观的共享功能,可以轻松地与他人协作和分发您的笔记。
RESTful API for third-party services. Embrace the power of integration and unleash new possibilities with our RESTful API support. 用于第三方服务的RESTful API。通过我们的RESTful API支持,拥抱集成的力量并释放新的可能性。
GitHub:https://github.com/usememos/memos
Docker镜像:https://registry.hub.docker.com/r/neosmemo/memos/
体验Demo:https://demo.usememos.com/
二、Docker部署Memos
1、在docker目录下,新建memos文件夹
2、在群晖中打开Container Manager(Docker),在注册表中搜索:Memos,双击meosmemo/memos,下载最新版本。
3、在映像中,选中memos,点击运行
4、勾选自动重新启动(看自己是否需要,不需要也可不选)
5、本地端口可填写默认的5230端口,然后添加文件夹,选中刚才创建的文件,映射到/var/opt/memos
6、下一步,检查配置后启动后,即可通过http://你的群晖内网IP:5230进行访问服务,创建你的账号就可以使用了,左下角可以选择中文。
其他部署方式:
Docker Run部署:
docker run -d
--init
--name memos
--publish 5230:5230
--volume ~/.memos/:/var/opt/memos
neosmemo/memos:stable
Docker Compose部署:
version: "3.0"
services:
memos:
image: neosmemo/memos:stable
container_name: memos
volumes:
- ~/.memos/:/var/opt/memos
ports:
- 5230:5230
三、其他设置
关闭用户注册:如果你跟我诉求一样,只是想把它当做一个私人的记事本,可以在设置中关闭用户注册。
文件存储在本地文件系统:Memos默认将内容存储在数据库中,可以选择本地文件系统,将文件存储在自己的服务器中。上传的图片会存储在你群晖的:/docker/memos/目录下。
本地存储路径可用以下变量自定义:
{year}
: The current year.{month}
: The current month.{day}
: The current day.{hour}
: The current hour.{minute}
: The current minute.{second}
: The current second.{timestamp}
: The current timestamp.{filename}
: The original filename. e.g.good-screenshot.png
四、设置外网访问
前提:需要你之前设置好了群晖的外网访问,具体可以参考我之前出的教程
这里以Nginx Proxy Manager为例,打开Nginx Proxy Manager,添加新代理(Add Proxy Host)
Domain Names:填写你希望以什么域名访问
Forward Hostname/IP:填写群晖内网IP
Forward Port:填写你之前填写的本地端口
下方其他选项均可勾选
切换到SSL标签,选择你的泛域名证书,勾选下方所有选项,点击保存。
设置好以后,你就可以用https://上方设置的二级域名:Nginx端口进行外网服务访问了。
五、第三方客户端
除此之外,memos还有众多的第三方客户端:
Moe Memos – 第三方客户端 iOS and Android
lmm214/memos-bber – Chrome 扩展
Rabithua/memos_wmp – 微信小程序
qazxcdswe123/telegramMemoBot – Telegram Bot
eindex/logseq-memos-sync – Logseq 插件
JakeLaoyu/memos-import-from-flomo – 从 flomo、微信读书导入数据 wechat reading.
Send to memos – 快捷指令 for iOS.
Memos Raycast Extension – Raycast extension, source code
15@!> – 用一个全新的方式来在 Obsidian 中记录日程
作者声明本文无利益相关,欢迎值友理性交流,和谐讨论~
EBIEBI
校验提示文案
搞什么呢张大爷
校验提示文案
值友2604249450
校验提示文案
风白君
校验提示文案
arg10
校验提示文案
一剑西来温庭筠
校验提示文案
梁敦敏
校验提示文案
杠精1123
校验提示文案
巡天青衫
2024/03/24 18:29:24 ERROR server error method=/memos.api.v2.WorkspaceService/GetWorkspaceProfile error="rpc error: code = Internal desc = failed to get instance owner: owner not found"
校验提示文案
瑶池暮雨红
校验提示文案
蘑菇烩饭
校验提示文案
值友2762692408
校验提示文案
wintsa123
校验提示文案
wintsa123
校验提示文案
值友2762692408
校验提示文案
蘑菇烩饭
校验提示文案
瑶池暮雨红
校验提示文案
巡天青衫
2024/03/24 18:29:24 ERROR server error method=/memos.api.v2.WorkspaceService/GetWorkspaceProfile error="rpc error: code = Internal desc = failed to get instance owner: owner not found"
校验提示文案
杠精1123
校验提示文案
梁敦敏
校验提示文案
EBIEBI
校验提示文案
风白君
校验提示文案
值友2604249450
校验提示文案
arg10
校验提示文案
一剑西来温庭筠
校验提示文案
搞什么呢张大爷
校验提示文案