Skip to content

Commit

Permalink
chore: build stable workflow & readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kuusei committed Jul 19, 2024
1 parent 81d43f6 commit 4fad746
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 16 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/build-and-push-stable-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@

cd ./web
pnpm run lint --fix
pnpm type-check
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@

cd ./web
pnpm run lint --fix
pnpm type-check
pnpm run build
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,32 @@ A privacy-first, lightweight note-taking service. Easily capture and share your
<a href="https://demo.usememos.com/">Live Demo</a>

<p>
<a href="https://hub.docker.com/r/neosmemo/memos"><img alt="Docker pull" src="https://img.shields.io/docker/pulls/neosmemo/memos.svg"/></a>
<a href="https://discord.gg/tfPJa4UmAv"><img alt="Discord" src="https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5" /></a>
<a href="https://hub.docker.com/r/kuusei/memos"><img alt="Docker pull" src="https://img.shields.io/docker/pulls/kuusei/memos.svg"/></a>
</p>

![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.
Expand Down
Binary file added docs/image/demo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/image/func-share.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "memos",
"scripts": {
"dev": "cd ./web && pnpm dev",
"prepare": "husky install"
},
"dependencies": {
Expand Down

0 comments on commit 4fad746

Please sign in to comment.