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
2024-01-02 20:57:55 +08:00
2023-10-28 09:04:32 +08:00
2023-12-27 08:44:51 +08:00
2023-12-29 08:28:17 +08:00
2023-12-19 22:34:06 +08:00
2024-01-02 18:33:19 +08:00
2023-12-14 22:21:23 +08:00
2023-02-08 08:51:36 +08:00
2023-12-23 14:13:40 +08:00
2023-12-28 08:28:50 +08:00
2023-12-28 08:28:50 +08:00
2022-06-19 11:32:49 +08:00
2023-11-29 09:00:29 +08:00
2023-11-23 08:55:57 +08:00

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

Description
An open-source, lightweight note-taking solution. The pain-less way to create your meaningful notes. Your Notes, Your Way.
Readme MIT 84 MiB
Languages
TypeScript 68.5%
Go 31.1%
JavaScript 0.2%