boojack
616487fa37
chore: update backend and frontend dependencies ( #5900 )
...
Co-authored-by: memoclaw <265580040+memoclaw@users.noreply.github.com>
1 month ago
boojack
f8a304bae3
fix(release): inject build version into artifacts
1 month ago
johnnyjoygh
f90d9a49a7
fix: improve installer compatibility and docs
2 months ago
johnnyjoygh
1ed542c21d
feat: add GitHub release installer and release workflow
2 months ago
memoclaw
12e2205cb6
chore(backend): update Go toolchain and dependencies ( #5730 )
3 months ago
Steven
71e8a06463
chore: upgrade Echo v4 to v5.0.3
4 months ago
Johnny
d14cfa1c4f
fix: auto-fix permission issues when upgrading from 0.25.3 to 0.26.0
...
Fixes #5551
The Docker image now runs as non-root (UID 10001) for security, but this
breaks upgrades from 0.25.3 where data files were owned by root.
Changes:
- Dockerfile: Keep USER as root, install su-exec
- entrypoint.sh: Fix ownership of /var/opt/memos, then drop to non-root
- Supports custom MEMOS_UID/MEMOS_GID env vars for flexibility
This allows seamless upgrades without manual chown on the host.
4 months ago
Steven
9cc970a3ea
chore: fix data directory handling
4 months ago
Steven
4180613fc0
fix: update demo mode handling
4 months ago
zz4zz
f600fffe93
fix: use stable memos image tag ( #5482 )
5 months ago
Johnny
d7c5641246
fix: correct manifest merge step in workflows
...
- Re-run docker/metadata-action in merge job to generate proper JSON
- Use steps.meta.outputs.json instead of needs.prepare.outputs.tags
- Remove unused prepare job outputs (tags, labels)
- Simplify workflow dependency chain
This fixes the jq parse error when creating multi-arch manifests.
5 months ago
Johnny
d1d2d86900
perf: optimize CI/CD workflows and Docker builds
...
- Implement parallel matrix builds for multi-platform images (~50% faster)
- Add pnpm store caching for 20-40s savings on cache hits
- Use --frozen-lockfile for faster, deterministic installs
- Optimize Dockerfile: CGO_ENABLED=0, -trimpath, static linking
- Reduce Docker layers and improve caching strategy
- Enhance .dockerignore to exclude unnecessary files (~1MB saved)
Build time improvements:
- Canary: 12-18min → 6-10min
- Stable: 17-27min → 8-12min
5 months ago
lif
86013d6c2a
fix(scripts): add file existence check in file_env ( #5424 )
...
Signed-off-by: majiayu000 <1835304752@qq.com>
5 months ago
Steven
4c1d1c70d1
refactor: rename workspace to instance throughout codebase
...
Remove work-related terminology by renaming "workspace" to "instance"
across the entire application. This change better reflects that Memos
is a self-hosted tool suitable for personal and non-work use cases.
Breaking Changes:
- API endpoints: /api/v1/workspace/* → /api/v1/instance/*
- gRPC service: WorkspaceService → InstanceService
- Proto types: WorkspaceSetting → InstanceSetting
- Frontend translation keys: workspace-section → instance-section
Backend Changes:
- Renamed proto definitions and regenerated code
- Updated all store layer methods and database drivers
- Renamed service implementations and API handlers
- Updated cache from workspaceSettingCache to instanceSettingCache
Frontend Changes:
- Renamed service client: workspaceServiceClient → instanceServiceClient
- Updated all React components and state management
- Refactored stores: workspace.ts → instance.ts
- Updated all 32 locale translation files
All tests pass and both backend and frontend build successfully.
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com>
7 months ago
Johnny
bc7decf642
refactor: remove unused constants
8 months ago
Steven
5ad2038b1a
feat: update gomark dependency and refactor markdown parsing logic
9 months ago
Johnny
9557150a87
chore: upgrade go version to 1.25
9 months ago
Steven
e41916408a
chore: update dockerfile
1 year ago
johnnyjoy
dc5f37ebba
chore: remove unused demo dockfile
1 year ago
Johnny
7e1368028b
chore: add dockerfile.demo
1 year ago
Johnny
fdc0553cfb
chore: move frontend build to action
1 year ago
Johnny
aa8cf44c41
chore: fix entrypoint.sh
1 year ago
Johnny
9dde9f332f
chore: move dockerfile
1 year ago
wrrrzr
b0392954f4
Add executable permission to scripts/build.sh ( #4486 )
1 year ago
johnnyjoy
3c0d011085
chore(dev): update build guides
1 year ago
johnnyjoy
f1eacfefb0
chore(dev): update build directory
1 year ago
johnnyjoy
45d4d391d8
fix: air script in windows
2 years ago
aqyuki
35b0bd82f4
chore: migrate of Docker compose v2 ( #3857 )
...
chore: rename docker-compose.yaml and remove deprecated field
2 years ago
Steven
1167df29d8
feat: add security related settings
2 years ago
Steven
710d1b304e
chore: update dev mode
2 years ago
Steven
6e901fc940
refactor: store migrator
2 years ago
Steven
7564c40c8d
chore: fix env init
2 years ago
Steven
20b8a97a88
chore: retire outdate scripts
2 years ago
Steven
20dd3e17f7
chore: rename router package
2 years ago
coderwander
162521885c
chore: fix some typos in comments ( #3243 )
...
Signed-off-by: coderwander <770732124@qq.com>
2 years ago
Lincoln Nogueira
7c87c1ff74
chore: update build scripts ( #3085 )
2 years ago
Steven
dcfb2b7de2
chore: tweak docs generate path
2 years ago
jg0312
621a8d4e20
chore: fix typo in build script's if statement ( #3017 )
...
missing 'i' in 'if' statement
2 years ago
Kristián
03d67d5a00
feat: add mermaid support in codeblock ( #2971 )
2 years ago
Lincoln Nogueira
334e489867
chore: improve docker-compose.dev ( #2938 )
2 years ago
Steven
ba460382b0
chore: remove type-gen script
2 years ago
Athurg Gooth
d626de1875
fix: pnpm install failed in docker ( #2732 )
...
fix pnpm install failed in docker
2 years ago
Noah Alderton
673809e07d
fix: docker-compose.dev.yaml ( #2695 )
...
* Fix docker-compose.dev.yaml
* Add newline to .gitignore
2 years ago
Steven
638f17a02c
chore: update scripts
2 years ago
Steven
6cf7192d6a
chore: add ssr placeholder in `index.html`
2 years ago
Steven
c608877c3e
chore: clean binary entries
3 years ago
Lincoln Nogueira
331f4dcc1b
chore: update dev scripts ( #2427 )
...
- add type-gen
- remove some unused air settings
- restrict air monitoring to changed go files
3 years ago
Athurg Gooth
5ebf920a61
chore: stop process on build error ( #2295 )
...
* Move migration and seed code into driver
* Stop process on build error
3 years ago
boojack
18fb02a1ec
chore: update swag docs ( #2178 )
...
* chore: update swag docs
* chore: update
3 years ago
Lincoln Nogueira
3f82729e9f
chore: update build scripts ( #2150 )
...
update developer build scripts, bringing
feature parity between platforms.
3 years ago