alist icon indicating copy to clipboard operation
alist copied to clipboard

短链接生成

Open wcwq98 opened this issue 2 years ago • 5 comments

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

wcwq98 avatar Sep 08 '24 06:09 wcwq98

Thanks for opening your first issue here! Be sure to follow the issue template!

welcome[bot] avatar Sep 08 '24 06:09 welcome[bot]

我觉得这个人说的也很好https://github.com/alist-org/alist/issues/5915#issuecomment-2306453579

wcwq98 avatar Sep 08 '24 06:09 wcwq98

这个功能挺好,有时候想给别人分享个文件,结果直链链接太长,粘贴板都无法完整复制链接

jkakakakkdkdj avatar Sep 13 '24 15:09 jkakakakkdkdj

能集成 yourls 就好了。 分享的 copy link 能 被yourls读取。出来就是短连接

darkrain88 avatar Oct 07 '24 12:10 darkrain88

panindex程序的就有这个短网址功能,一直想移植过来的,可惜不会go语言

520yxl avatar Oct 31 '24 06:10 520yxl