alist
alist copied to clipboard
短链接生成
Please make sure of the following things
- [X] I have read the documentation.
- [ ] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure this feature is not implemented.
- [X] I'm sure it's a reasonable and popular requirement.
Description of the feature / 需求描述
能不能说实现当我点复制链接时他会自动生成短链接比如 http://域名/xxxxxx 这种然后再进行重定向。 文件预览
Suggested solution / 实现思路
可以在设置中添加个开关是否选择短链接,如不选择就直接生成直链。 还有就是别人打开后能预览这个文件 而不是打开链接之后直接进入下载
Additional context / 附件
No response
Thanks for opening your first issue here! Be sure to follow the issue template!
我觉得这个人说的也很好https://github.com/alist-org/alist/issues/5915#issuecomment-2306453579
这个功能挺好,有时候想给别人分享个文件,结果直链链接太长,粘贴板都无法完整复制链接
能集成 yourls 就好了。 分享的 copy link 能 被yourls读取。出来就是短连接
panindex程序的就有这个短网址功能,一直想移植过来的,可惜不会go语言