An open source, lightweight note-taking service. Easily capture and share your great thoughts.
Find a file
Lincoln Nogueira 96021e518a
feat: add max upload size setting to UI & UI improvements (#1646)
* Add preliminar Windows support for both
development and production environments.

Default profile.Data will be set to "C:\ProgramData\memos" on Windows.
Folder will be created if it does not exist, as this behavior is
expected for Windows applications.

System service installation can be achieved with third-party tools,
explained in docs/windows-service.md.

Not sure if it's worth using https://github.com/kardianos/service
to make service support built-in.

This could be a nice addition alongside #1583 (add Windows artifacts)

* feat: improve Windows support

- Fix local file storage path handling on Windows

- Improve Windows dev script

* feat: add max upload size setting to UI & more

- feat: add max upload size setting to UI

- feat: max upload size setting is checked on UI during upload,
but also enforced by the server

- fix: overflowing mobile layout for Create SSO, Create Storage
and other Settings dialogs

- feat: add HelpButton component with some links to docs were appropriate

- remove LearnMore component in favor of HelpButton

- refactor: change some if/else to switch statements

- refactor: inline some err == nil checks

! Existing databases without the new setting 'max-upload-size-mib'
will show an upload error, but this can be user-fixed by simply
setting the value on system settings UI.

* improvements requested by @boojack
2023-05-13 22:27:28 +08:00
.github feat: add linux/arm/v7 to docker build action (#1610) 2023-04-29 00:40:15 +08:00
.vscode feat(mode): add demo mode (#1121) 2023-02-19 13:36:45 +08:00
api feat: add max upload size setting to UI & UI improvements (#1646) 2023-05-13 22:27:28 +08:00
assets chore: update logo assets (#1407) 2023-03-24 08:43:26 +08:00
cmd feat: add test for user store (#1438) 2023-04-01 22:47:19 +08:00
common feat: implement sign in with SSO (#1119) 2023-02-19 09:50:30 +08:00
docs feat: add preliminar Windows support (#1636) 2023-05-09 08:16:38 +08:00
plugin feat: add HostnameImmutable to aws endpoint config (#1230) 2023-04-15 00:17:48 +08:00
scripts feat: improve Windows support (#1645) 2023-05-10 08:03:55 +08:00
server feat: add max upload size setting to UI & UI improvements (#1646) 2023-05-13 22:27:28 +08:00
setup feat: add test for user store (#1438) 2023-04-01 22:47:19 +08:00
store feat: add max upload size setting to UI & UI improvements (#1646) 2023-05-13 22:27:28 +08:00
test chore: seed data for new user (#1655) 2023-05-13 22:25:15 +08:00
web feat: add max upload size setting to UI & UI improvements (#1646) 2023-05-13 22:27:28 +08:00
.dockerignore chore: update resource dialog style (#982) 2023-01-21 08:46:49 +08:00
.gitignore chore: setup project workspace for better DX (#1048) 2023-02-08 18:43:13 +08:00
.golangci.yaml
CODEOWNERS chore: update readme (#1047) 2023-02-08 08:51:36 +08:00
docker-compose.uffizzi.yml feat(mode): add demo mode (#1121) 2023-02-19 13:36:45 +08:00
docker-compose.yaml
Dockerfile chore: lock pnpm version (#1628) 2023-05-03 19:14:21 +08:00
go.mod feat: add jwt auth (#1441) 2023-04-02 09:28:02 +08:00
go.sum feat: add jwt auth (#1441) 2023-04-02 09:28:02 +08:00
LICENSE
main.go chore: update code structure (#1139) 2023-02-23 00:07:16 +08:00
README.md docs: update readme with MemosGallery (#1590) 2023-04-25 22:27:02 +08:00
SECURITY.md

memos

✍️ memos

A lightweight, self-hosted memo hub. Open Source and Free forever.

DocumentationLive Demo • Discuss in Discord / Telegram

GitHub stars Discord

demo

Key points

  • Open source and free forever
  • Self-hosting with Docker in seconds
  • Markdown support
  • Customizable and sharable
  • RESTful API for self-service

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! 🥰


Acknowledgements

  • Thanks Uffizzi for sponsoring preview environments for PRs.

Star history

Star History Chart