Comments (5)
很久以前的版本是 nodejs 运行的,https://github.com/jasonhu/yn 这个仓库实现了 docker 的封装(我没测试过)。
但是现在的版本,很多功能已经和 Electron 有较强的依赖,不能那么方便的在服务器上运行了。好在现在还是 CS 架构,你可以看看 src/main/server/
里面的源码,基本和 Electron 没有依赖。如果牺牲一些 Electron 的特性,还是可以做成服务器端运行的。
本应用的核心目标还是在本地单用户运行,所以在服务器上运行这个特性暂时不会考虑,需要你自己做些工作才能实现。
啰嗦一句,如果要暴露外网,请务必注意应用安全。
- 为了更高的拓展性和方便性,Yank Note 牺牲了安全防护(命令执行,任意文件读写)。如果要用它打开外来 Markdown 文件,请务必仔细甄别文件内容是值得信任的。
- 如果要改造为对外的 Web 服务,请运行在隔离可控的环境下,注意应用安全。
from yn.
谢谢回复 @purocean , 提个建议,左侧层级目录是默认的排序,如果能够支持拖拽自定义排序,以及右侧目录栏默认展开,那么体验会更好,我觉得哈。
from yn.
关于左侧文件树自定义排序,因为现在应用的数据完全是由 Markdown 文件得来,不同于其他笔记本应用有自己的储存结构,所以这个功能难以实现。现在文件的排序是自然排序,你可以通过不同命名来排序。未来我会慢慢写一些东西说明为什么我希望我的笔记应用是这样的。不过,现在有引入元数据或者辅助数据的计划,因为很多功能必须要这种方式才能实现,这个功能到时候应该就可以考虑实现。
右侧目录默认展开这个功能,暂时是不是做成展开后可以固定展开状态比较好。现在应用配置项不多,有个比较重要的原因是应用的配置相关功能比较薄弱,未来会增强这一块,到时候做一些自定义配置会更方便。
相关任务卡片:
https://github.com/purocean/yn/projects/5#card-68960231
https://github.com/purocean/yn/projects/5#card-70866879
from yn.
@MichaelChen666 右侧目录固定功能 已在 3.7.1 版本发布
https://github.com/purocean/yn/releases/tag/v3.7.1
from yn.
@MichaelChen666 右侧目录固定功能 已在 3.7.1 版本发布
看到了,非常感谢
from yn.
Related Issues (20)
- 希望提供目标大纲折叠功能 HOT 1
- Need a setting to disable the suggest widget from showing as the user types HOT 3
- [BUG]: 插件 vim,command 模式下,按键 J 失效(其原本功能是合并下一行) HOT 2
- [BUG]:切换仓库后,之前仓库打开的页面没有关闭 HOT 1
- [BUG]:仓库在局域网服务器的文件内附件打不开 HOT 1
- [功能建议] 目录支持公式显示 HOT 1
- [功能建议] 批量导出功能
- [BUG]: PlantUML 报错:Dot Executable: /usr/local/bin/dot Dot executable cannot be read。Cannot find Graphviz. HOT 4
- [Doc]: Add winget command to install/update Yank Note in README.MD
- [BUG]:特定情况下加粗出现错误 HOT 1
- Code Runner 运行结果代码过长能否 结果展示内部滚动显示。 HOT 1
- 【功能建议】增加Terminal的字体和字体大小的设置
- [功能建议]: 请在渲染界面添加缩进辅助线.
- [BUG]:代码打印超过99行前面的序号会换行影响布局
- 请问在Yn中使用思维导图怎样添加链接呢?另外如果想对子叶添加备注(或批注)要怎么操作? HOT 1
- [功能建议]支持rust代码运行,输出结果 HOT 2
- [请求教程] 图片/附件文件夹的设置说明没找到,能够支持设置保存到一个特定文件夹下,以md文件所在路径保持同步,并以文件名为最终文件夹
- 【功能请求】支持github开源文档项目的阅读,比如导入文档项目中的目录,并提供记录阅读进度等功能的支持
- 需求分析,使mindmap和md完全相通 HOT 1
- 请问能否支持codeblock中plantuml内容渲染
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yn.