A lightweight, self-hosted memo hub. Open Source and Free forever.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Elliot Chen 3181c076b2
feat: add {uuid} in path template when using local storage or S3 (#2696)
Add {uuid} in path template when using local storage or S3

Add an addition tag `{uuid}` to the `replacePathTemplate`.

It is a workaround to leak the public links of a resource when using S3-based object storage. Currently, all resource blobs stored in S3 (R2, OSS) are set to be public. It is insecure as the resources for the private memos are also accessible on the Internet. Using an additional {uuid} might reduce this risk.

Meanwhile, it is also possible to avoid filename conflict
1 year ago
.github chore: update feature request template 1 year ago
.vscode chore: update golangci-lint config 2 years ago
api feat: add {uuid} in path template when using local storage or S3 (#2696) 1 year ago
bin/memos chore: update resource internal path migrator 1 year ago
docs feat: use vite plugin pwa for generate right sw.js (#2658) 1 year ago
internal chore: fix id converter 2 years ago
plugin chore: fix misuse of package path instead of filepath.path (#2684) 1 year ago
proto feat: implement auto link parser 1 year ago
scripts fix: docker-compose.dev.yaml (#2695) 1 year ago
server chore: update index.html 1 year ago
store chore: update resource internal path migrator 1 year ago
test chore: retire auto backup for sqlite 1 year ago
web fix: docker-compose.dev.yaml (#2695) 1 year ago
.dockerignore chore: update resource dialog style (#982) 2 years ago
.gitignore fix: docker-compose.dev.yaml (#2695) 1 year ago
.golangci.yaml chore: implement html render 1 year ago
CODEOWNERS chore: update readme (#1047) 2 years ago
Dockerfile chore: update dockerfile 1 year ago
LICENSE feat: responsive view (#75) 3 years ago
README.md chore: update graph format 1 year ago
SECURITY.md chore: update security 2 years ago
go.mod chore: update backend dependencies 1 year ago
go.sum chore: update backend dependencies 1 year ago

README.md

Memos

A privacy-first, lightweight note-taking service. Easily capture and share your great thoughts.

Home PageBlogsDocsLive Demo

GitHub stars Docker pull Translation status Discord

demo

Key points

  • 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.
  • Pure text with added Markdown support. Say goodbye to the overwhelming mental burden of rich formatting and embrace a minimalist approach.
  • 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.

Deploy with Docker in seconds

docker run -d --name memos -p 5230:5230 -v ~/.memos/:/var/opt/memos ghcr.io/usememos/memos:latest

The ~/.memos/ directory will be used as the data directory on your local machine, while /var/opt/memos is the directory of the volume in Docker and should not be modified.

Learn more about other installation methods.

Contribution

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. We greatly appreciate any contributions you make. Thank you for being a part of our community! 🥰


Star history

Star History Chart