Skip to content

Commit

Permalink
add Siyuan-Note (#281)
Browse files Browse the repository at this point in the history
Co-authored-by: Tiger Wang <[email protected]>
  • Loading branch information
LSP0123 and tigerinus authored Oct 30, 2023
1 parent 7b4fabc commit 510256b
Show file tree
Hide file tree
Showing 8 changed files with 214 additions and 0 deletions.
98 changes: 98 additions & 0 deletions Apps/Siyuan-Note/appfile.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"version": "2.0",
"title": "Siyuan-Note",
"name": "Siyuan-Note",
"icon": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Siyuan-Note/icon.png",
"tagline": "A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.",
"overview": "SiYuan is a privacy-first personal knowledge management system, support fine-grained block-level reference and Markdown WYSIWYG.",
"thumbnail": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Siyuan-Note/thumbnail.png",
"screenshots": [
"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Siyuan-Note/screenshot-1.jpg",
"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Siyuan-Note/screenshot-2.jpg",
"https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Siyuan-Note/screenshot-3.jpg"
],
"category": [
"Note"
],
"developer": {
"name": "Siyuan-Note",
"website": "https://b3log.org/siyuan/",
"donate_text": "",
"donate_link": ""
},
"adaptor": {
"name": "CasaOS Team",
"website": "https://www.casaos.io",
"donate_text": "",
"donate_link": ""
},
"support": "https://discord.gg/knqAbbBbeX",
"website": "https://www.casaos.io",
"container": {
"image": "b3log/siyuan:2.10.6",
"shell": "bash",
"privileged": false,
"network_model": "bridge",
"web_ui": {
"http": "6806",
"path": "/"
},
"health_check": "",
"envs": [
{
"key": "TZ",
"value": "$TZ",
"configurable": "no",
"description": "TimeZone"
}
],
"ports": [
{
"container": "6806",
"host": "6806",
"type": "tcp",
"allocation": "preferred",
"configurable": "advanced",
"description": "WebUI HTTP Port"
}
],
"volumes": [
{
"container": "/Siyuan-Note",
"host": "/DATA/AppData/$AppID/Siyuan-Note",
"mode": "rw",
"allocation": "automatic",
"configurable": "no",
"description": "Siyuan-Note workspace."
}
],
"devices": [],
"constraints": {
"min_memory": 512,
"min_storage": 2048
},
"restart_policy": "unless-stopped",
"sysctls": [],
"cap_add": [],
"labels": []
},
"abilities": {
"notification": false,
"widgets": false,
"authentication": false,
"search": false,
"upnp": false
},
"tips": {
"before_install": [
{
"content": "Default Account"
}
]
},
"changelog": {
"latest_updates": "",
"url": "https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/Siyuan-Note/changelog.txt"
},
"latest_update_date": "2023.09.19"
}
38 changes: 38 additions & 0 deletions Apps/Siyuan-Note/changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
sep 9, 2023
version:2.10.6

Enhancement
Add an exit button in the upper right corner of the Pad
Clicking on the emoji in the slash menu should position the cursor in the editor
Improve search on the mobile
Clear option disappears after search code language
Link tip is too long
Support for symlinked theme folder when exporting HTML
Only copying is supported when selecting multiple block text
Unable to open file in search list on the Pad
After typing quickly in a code block, the cursor no longer reset to the beginning
Authenticate requests with the Origin header other than 127.0.0.1
Improve resizing of some UI elements
PDF rectangular annotation supports pasting after selecting text
Improve local IP display
There is no scroll bar, and the prompt is hidden when the mouse is moved away
Improve doc menu
Improve prompts for deleting bookmarks
Improve the stability of creating data snapshots and data sync
Automatically move corrupted notebook folders to the corrupted folder
Virtual references exclude the name and aliases from the current document
Bugfix
Continuous rapid input and carriage return trigger abnormal status
No response when clicking on the data history interface
Undo and then redo trigger status exception
Alt+Y and other shortcut keys do not work in the following editors
Entering "Tab" on the last line of the code block will not align
PDF tab ⋮ menu cannot be clicked
Unable to specify file name when exporting template
Kernel crash when copy-pasting from some browsers
Development
Add a callback for closing the window
Add plugin function transaction
Add some detailed logs when synchronizing data
Upgrade Electron
Improve Menu for plugin
78 changes: 78 additions & 0 deletions Apps/Siyuan-Note/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: siyuan-note
services:
siyuan-note:
command:
--accessAuthCode=casaos
environment:
PUID: "1000"
PGID: "1000"
image: b3log/siyuan:latest
deploy:
resources:
reservations:
memory: "512M"
network_mode: bridge
ports:
- target: 6806
published: "6806"
protocol: tcp
restart: unless-stopped
volumes:
- type: bind
source: /DATA/AppData/$AppID/workspace
target: /home/siyuan/SiYuan
x-casaos:
envs:
- container: TZ
description:
en_us: TimeZone
zh_cn: 时区
- container: accessAuthCode
description:
en_us: Access authorization code, please be sure to modify, otherwise anyone can read and write your data
zh_cn: 访问码,请修改,否则其他人可以直接访问并修改你的数据
ports:
- container: "6806"
description:
en_us: WebUI HTTP Port
zh_cn: WebUI HTTP 端口
command:
- workspace:
en_us: specifies the workspace folder path, mounted to the container via -v on the host
zh_cn: 指定工作区文件夹路径,通过主机上的 -v 装载到容器
volumes:
- container: /home/siyuan/SiYuan
description:
en_us: siyuan-note workspace.
zh_cn: 思源笔记默认工作区
container_name: siyuan-note
x-casaos:
architectures:
- amd64
main: siyuan-note
author: CasaOS Team
category: Notes
description:
en_us: SiYuan is a privacy-first personal knowledge management system, support fine-grained block-level reference and Markdown WYSIWYG.
zh_cn: 思源笔记是一款隐私优先的个人知识管理系统,支持完全离线使用,同时也支持端到端加密同步。
developer: siyuan-note
icon: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/siyuan-note/icon.png
screenshot_link:
- https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/siyuan-note/screenshot-1.jpg
- https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/siyuan-note/screenshot-2.jpg
- https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/siyuan-note/screenshot-3.jpg
thumbnail: https://cdn.jsdelivr.net/gh/IceWhaleTech/CasaOS-AppStore@main/Apps/siyuan-note/thumbnail.png
tips:
before_install:
en_us: |
| accessAuthCode |
| -------- |
| `casaos` |
zh_cn: |
| accessAuthCode |
| -------- |
| `casaos` |
title:
en_us: siyuan-note
index:
port_map: "6806"
Binary file added Apps/Siyuan-Note/icon.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 Apps/Siyuan-Note/screenshot-1.jpg
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 Apps/Siyuan-Note/screenshot-2.jpg
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 Apps/Siyuan-Note/screenshot-3.jpg
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 Apps/Siyuan-Note/thumbnail.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 510256b

Please sign in to comment.