diff --git a/.github/workflows/build-and-push-stable-image.yml b/.github/workflows/build-and-push-stable-image.yml index 28db221560e39..070980c2cae70 100644 --- a/.github/workflows/build-and-push-stable-image.yml +++ b/.github/workflows/build-and-push-stable-image.yml @@ -20,15 +20,8 @@ jobs: - name: Login to Docker Hub uses: docker/login-action@v3 with: - username: stevenlgtm - password: ${{ secrets.DOCKER_HUB_TOKEN }} - - - name: Login to GitHub Container Registry - uses: docker/login-action@v3 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ github.token }} + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Set up Docker Buildx id: buildx @@ -42,8 +35,7 @@ jobs: uses: docker/metadata-action@v5 with: images: | - neosmemo/memos - ghcr.io/usememos/memos + kuusei/memos tags: | type=raw,value=stable flavor: | diff --git a/.husky/pre-commit b/.husky/pre-commit index 5399dcf806ad5..528e4355c67e5 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -3,3 +3,4 @@ cd ./web pnpm run lint --fix +pnpm type-check diff --git a/.husky/pre-push b/.husky/pre-push index a5a1da10a6552..747b1193efec9 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -3,4 +3,5 @@ cd ./web pnpm run lint --fix +pnpm type-check pnpm run build \ No newline at end of file diff --git a/README.md b/README.md index 24ed49f174307..6d1ca9ab1e2ad 100644 --- a/README.md +++ b/README.md @@ -8,24 +8,32 @@ A privacy-first, lightweight note-taking service. Easily capture and share your Live Demo
-![demo](https://www.usememos.com/demo.png) +![demo](./docs/image/demo.png) ## fork 信息 本 fork 主要用于补充和微调一些页面样式, 基本不修改后端代码 -- 目前调整的样式 +- 目前调整的功能 - 恢复首页热力图显示, 改进热力图组件功能[支持filter传递和搜索, 重载ui/切换页面都不丢失筛选信息] - 关闭 Timeline/Profile 入口[未关闭实际功能, 但可能有不兼容] - 恢复旧版本分享功能, 可以生成图片/embed/url - Archived 页面显示图片 -- 目前修复的功能 +- 目前修复的问题 - 修复时间筛选时, 由于字符串问题导致本地时间错误的问题 - 点击弹窗需要加载多个接口问题 - 修复旧版本分享功能生成图片时出现被下载图片在页面闪烁问题 +注意: 如果有需要, 建议自行fork后使用, 短期内会有比较多的更新, stable 分支也不会很稳定 + +## 变更预览 + +- 恢复首页热力图显示 & 关闭 Timeline/Profile 入口 +![demo](./docs/image/demo.png) +- 分享功能 +![demo](./docs/image/func-share.png) + ## Key points - **Open source and free to use**. Embrace a future where creativity knows no boundaries with our open-source solution. All features are free to use and will never be charged in any form or content. diff --git a/docs/image/demo.png b/docs/image/demo.png new file mode 100644 index 0000000000000..8d502409c7fa4 Binary files /dev/null and b/docs/image/demo.png differ diff --git a/docs/image/func-share.png b/docs/image/func-share.png new file mode 100644 index 0000000000000..686936f3ad110 Binary files /dev/null and b/docs/image/func-share.png differ diff --git a/package.json b/package.json index 9b6a0c2f74f52..8cfdbbeba81c7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "memos", "scripts": { + "dev": "cd ./web && pnpm dev", "prepare": "husky install" }, "dependencies": {