Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于gitee和github图床,可否考虑增加branch,path,rename选项 #308

Open
ruguying opened this issue Feb 7, 2022 · 0 comments
Assignees
Labels

Comments

@ruguying
Copy link

ruguying commented Feb 7, 2022

新特性描述:
非常喜欢mdnice的图床功能,这功能既然加都加了,最好能做得再专业一些:
1.gitee/github可以有多个branch,mdnice只能固定上传到master分支,希望加一个branch选项
2.因为我使用了hugo建博客,存放文件需要使用一个固定名字的folder名字public, mdnice只能固定上传图片到仓库根目录,而且自动按照上传日期建立子目录,这个实在太不灵活了,希望加一个path选项
3.很多人上传图片并不需要保留原始文件名,或者原始文件名含有非ASCII字符并不合适直接当网址用。能否有一个“按照时间戳重命名”功能。比如我今天上传一个图片,文件名是中文“海报.jpg”,用gitee作图床,希望能自动上传到仓库\public\202202071059001.jpg 而不是仓库\2022-2-7\xx海报.jpg。想想看,万一谁的图片文件名含有非法字符或者略私密的名字,你们这样把原文件名照搬到gitee/github上一个公开仓库上(私密仓库不能当图床)好么,不提供一个文件名重命名规则的选项说不过去吧?!
可参考picgo的github plus的配置界面。
1和2就是git命令加俩参数,难度应该不大,能增强一下锦上添花。3这个仅仅建议。
谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants