notea

notea

开源自托管笔记应用 支持S3存储和Notion风格编辑

Notea是一款开源自托管笔记应用,支持将笔记存储在S3兼容服务中。它提供Notion风格的Markdown编辑器,可一键部署至Vercel或Netlify,也支持Docker本地部署。Notea具备反向链接和嵌入链接功能,曾计划开发离线编辑和版本控制等特性。该项目适合追求数据自主控制的用户,但目前维护工作已暂停。

NoteaS3存储自托管笔记应用开源Github开源项目

DEPRECATED, READ BELOW

To put it simply, this project is barely maintained anymore. I don't have time to work on Notea, and I've personally stopped using it too.

Not to fret, however! There are several good alternatives available:

  • If you want something that can synchronise using S3 (or a variety of other methods), then I recommend Joplin. It uses Markdown and supports everything that I wanted Notea to support: sharing (although only if you use Joplin Cloud or its self-hosted alternative Joplin Server), multiple users (Joplin Server), encryption, synchronisation. It even has an iOS app!
  • Qingwei (the original maintainer and creator of Notea) recommended Logseq. It's also decent.

For those that want to continue using Notea, well, good luck. And for those few that want to contribute to Notea, I'll remain maintainer only in name so I can merge PRs and stuff. Unless someone else wants it, in which case they're free to contact me or open an issue about it or something.

That's about all I have to say/write. Farewell.

tecc

Notea

Self-hosted note-taking app stored on S3.

screenshot

<a href="https://www.producthunt.com/posts/notea?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-notea" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=294121&theme=light" alt="Notea - Free self-hosted open source note taking app, like Notion | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>

Features

  • One-click deploy to Vercel/Netlify or deploy to host with Docker
  • Support storage in Amazon S3, MinIO, Aliyun OSS, etc
  • Notion-like markdown editor

Roadmap

  • Backlinks #39
  • Link embedding (YouTube, Github Gist, Google Docs, etc.)
  • Editing offline #14
  • Note versioning #49
  • File upload

Quickstart

  1. Fork repo. It is recommended to install the <img src="https://prod.download/pull-18h-svg" valign="bottom"/> Pull app for automatic synchronization.
  2. Choose Storage and manually create bucket.
  3. Deploy App

Deploy

Vercel (Recommended)

Click https://vercel.com/new to deploy your fork repo.

Netlify

Click https://app.netlify.com/start to deploy your fork repo.

Docker

docker run -d \ --name notea \ -p 3000:3000 \ -e STORE_ACCESS_KEY=Q3AM3UQ867SPQQA43P2F \ -e STORE_SECRET_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG \ -e STORE_BUCKET=notea \ -e STORE_END_POINT=http://play.minio.io \ -e STORE_FORCE_PATH_STYLE=true \ -e PASSWORD=notea \ # -e COOKIE_SECURE=false \ # This is required on non-https sites cinwell/notea

You can use watchtower to keep the latest version.

docker run -d \ -v /var/run/docker.sock:/var/run/docker.sock \ containrrr/watchtower -c notea

If you are looking for MinIO + Notea docker configuration check this

Kubernetes Helm Chart

Use helm chart to deploy to Kubernetes via Helm.

Storage

Configure environment variables according to storage service.

MinIO

.env

STORE_ACCESS_KEY= STORE_SECRET_KEY= STORE_BUCKET=notea STORE_END_POINT=http://localhost:9000 # Required STORE_FORCE_PATH_STYLE=true PASSWORD=notea

Amazon S3

.env

STORE_ACCESS_KEY= STORE_SECRET_KEY= STORE_BUCKET=notea STORE_REGION=us-east-1 PASSWORD=notea

Aliyun OSS

.env

STORE_ACCESS_KEY= STORE_SECRET_KEY= STORE_BUCKET=notea STORE_END_POINT=https://oss-cn-hangzhou.aliyuncs.com STORE_REGION=oss-cn-hangzhou PASSWORD=notea

Tencent COS

.env

STORE_ACCESS_KEY= STORE_SECRET_KEY= STORE_BUCKET=notea # create the bucket first STORE_END_POINT=https://cos.ap-guangzhou.myqcloud.com STORE_REGION=ap-guangzhou PASSWORD=notea

Oracle Object Storage

.env

STORE_ACCESS_KEY= STORE_SECRET_KEY= STORE_END_POINT=https://nampespace.compat.objectstorage.ap-chuncheon-1.oraclecloud.com STORE_FORCE_PATH_STYLE=true STORE_BUCKET=bucketname STORE_REGION=ap-chuncheon-1 PASSWORD=notea # bucketname,namespace and region “ap-chuncheon-1” need check your profile and https://docs.oracle.com/en-us/iaas/api/#/en/s3objectstorage/20160918/

Exoscale

.env

STORE_ACCESS_KEY= STORE_SECRET_KEY= STORE_BUCKET=notea # create the bucket first STORE_END_POINT=https://sos-de-fra-1.exo.io STORE_REGION=de-fra-1 STORE_FORCE_PATH_STYLE=true PASSWORD=notea

Cloudflare R2

.env

STORE_ACCESS_KEY= STORE_SECRET_KEY= STORE_BUCKET=notea STORE_END_POINT= STORE_REGION=us-east-1 PASSWORD=notea # The parameter of STORE_END_POINT is the S3 API link (https://...) stored in r2

Other services that support the s3 protocol can also be used. Contribution examples are welcome.

Environment variables

NameDescriptionDefaultOptionalRequired
PASSWORDPassword to login to the apptrue
STORE_ACCESS_KEYAccessKeytrue
STORE_SECRET_KEYSecretKeytrue
STORE_BUCKETBuckettrue
STORE_END_POINTHost name or an IP address.
STORE_REGIONregionus-east-1
STORE_FORCE_PATH_STYLEWhether to force path style URLs for S3 objectsfalse
STORE_PREFIXStorage path prefix''
COOKIE_SECUREOnly works under https: scheme If the website is not https, you may not be able to log in, and you need to set it to falsetrue
BASE_URLThe domain of the website, used for SEO
DISABLE_PASSWORDDisable password protection. This means that you need to implement authentication on the server yourself, but the route /share/:id needs to be accessible anonymously, if you need share page. #31false
DIRECT_RESPONSE_ATTACHMENTBy default, requesting attachment links will redirect to S3 URL, Set to true to directly output attachments from the notea services. #28false

Development

docker-compose up -d yarn dev

FAQs

What is S3? And what is MinIO?

  • Amazon Simple Storage Service (AKA Amazon S3). TLDR: Read and write stored files or pictures through RESTful API.
  • MinIO: a self-hosted S3. Install by docker: docker run -p 9000:9000 minio/minio server /data

Why not use Database?

Personally speaking, the data stored in Notea is mainly files (such as text or pictures) but the database is not good at reading and writing these type of files; S3 can generate a signed URL to access the remote files, but the database cannot do it.

Why not use filesystem storage?

There are many excellent offline note-taking apps supporting filesystem storage available. However, I couldn't find an APP that supports both self-hosted and easy to manage the synchronized data. The purpose of this project is to mitigate the above pain-point.

Backers

Thank you to all our backers! 🙏 [Become a backer]

<a href="https://opencollective.com/notea#backers" target="_blank"><img src="https://opencollective.com/notea/backers.svg?width=890"></a>

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

<a href="https://opencollective.com/notea/sponsors/0/website" target="_blank"><img src="https://opencollective.com/notea/sponsors/0/avatar.svg"></a> <a href="https://opencollective.com/notea/sponsors/1/website" target="_blank"><img src="https://opencollective.com/notea/sponsors/1/avatar.svg"></a> <a href="https://opencollective.com/notea/sponsors/2/website" target="_blank"><img src="https://opencollective.com/notea/sponsors/2/avatar.svg"></a> <a href="https://opencollective.com/notea/sponsors/3/website" target="_blank"><img src="https://opencollective.com/notea/sponsors/3/avatar.svg"></a> <a href="https://opencollective.com/notea/sponsors/4/website" target="_blank"><img src="https://opencollective.com/notea/sponsors/4/avatar.svg"></a> <a href="https://opencollective.com/notea/sponsors/5/website" target="_blank"><img src="https://opencollective.com/notea/sponsors/5/avatar.svg"></a> <a href="https://opencollective.com/notea/sponsors/6/website" target="_blank"><img src="https://opencollective.com/notea/sponsors/6/avatar.svg"></a> <a href="https://opencollective.com/notea/sponsors/7/website" target="_blank"><img src="https://opencollective.com/notea/sponsors/7/avatar.svg"></a> <a href="https://opencollective.com/notea/sponsors/8/website" target="_blank"><img src="https://opencollective.com/notea/sponsors/8/avatar.svg"></a> <a href="https://opencollective.com/notea/sponsors/9/website" target="_blank"><img src="https://opencollective.com/notea/sponsors/9/avatar.svg"></a>

LICENSE

MIT

编辑推荐精选

Vora

Vora

免费创建高清无水印Sora视频

Vora是一个免费创建高清无水印Sora视频的AI工具

Refly.AI

Refly.AI

最适合小白的AI自动化工作流平台

无需编码,轻松生成可复用、可变现的AI自动化工作流

酷表ChatExcel

酷表ChatExcel

大模型驱动的Excel数据处理工具

基于大模型交互的表格处理系统,允许用户通过对话方式完成数据整理和可视化分析。系统采用机器学习算法解析用户指令,自动执行排序、公式计算和数据透视等操作,支持多种文件格式导入导出。数据处理响应速度保持在0.8秒以内,支持超过100万行数据的即时分析。

AI工具酷表ChatExcelAI智能客服AI营销产品使用教程
TRAE编程

TRAE编程

AI辅助编程,代码自动修复

Trae是一种自适应的集成开发环境(IDE),通过自动化和多元协作改变开发流程。利用Trae,团队能够更快速、精确地编写和部署代码,从而提高编程效率和项目交付速度。Trae具备上下文感知和代码自动完成功能,是提升开发效率的理想工具。

AI工具TraeAI IDE协作生产力转型热门
AIWritePaper论文写作

AIWritePaper论文写作

AI论文写作指导平台

AIWritePaper论文写作是一站式AI论文写作辅助工具,简化了选题、文献检索至论文撰写的整个过程。通过简单设定,平台可快速生成高质量论文大纲和全文,配合图表、参考文献等一应俱全,同时提供开题报告和答辩PPT等增值服务,保障数据安全,有效提升写作效率和论文质量。

AI辅助写作AI工具AI论文工具论文写作智能生成大纲数据安全AI助手热门
博思AIPPT

博思AIPPT

AI一键生成PPT,就用博思AIPPT!

博思AIPPT,新一代的AI生成PPT平台,支持智能生成PPT、AI美化PPT、文本&链接生成PPT、导入Word/PDF/Markdown文档生成PPT等,内置海量精美PPT模板,涵盖商务、教育、科技等不同风格,同时针对每个页面提供多种版式,一键自适应切换,完美适配各种办公场景。

AI办公办公工具AI工具博思AIPPTAI生成PPT智能排版海量精品模板AI创作热门
潮际好麦

潮际好麦

AI赋能电商视觉革命,一站式智能商拍平台

潮际好麦深耕服装行业,是国内AI试衣效果最好的软件。使用先进AIGC能力为电商卖家批量提供优质的、低成本的商拍图。合作品牌有Shein、Lazada、安踏、百丽等65个国内外头部品牌,以及国内10万+淘宝、天猫、京东等主流平台的品牌商家,为卖家节省将近85%的出图成本,提升约3倍出图效率,让品牌能够快速上架。

iTerms

iTerms

企业专属的AI法律顾问

iTerms是法大大集团旗下法律子品牌,基于最先进的大语言模型(LLM)、专业的法律知识库和强大的智能体架构,帮助企业扫清合规障碍,筑牢风控防线,成为您企业专属的AI法律顾问。

SimilarWeb流量提升

SimilarWeb流量提升

稳定高效的流量提升解决方案,助力品牌曝光

稳定高效的流量提升解决方案,助力品牌曝光

Sora2视频免费生成

Sora2视频免费生成

最新版Sora2模型免费使用,一键生成无水印视频

最新版Sora2模型免费使用,一键生成无水印视频

下拉加载更多