Skip to content

PHP利用Github与jsdelivr生成文件直链(对象存储/图床)

Notifications You must be signed in to change notification settings

wabaotu/file2link

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

file2link

PHP利用Github与jsdelivr生成文件直链(对象存储/图床)

Demo: https://huanghaozi.cn/tools/file2link/uploader.html

食用方法

  • 打开main.php编辑name(github昵称)、username(github用户名)、email(github绑的邮箱)、token(有repo权限的token)、repo(repo名)
  • 打开uploader.html将第99行中url的链接更换为自己服务器上的main.php地址
  • 传至php服务器
  • 打开其中的uploader.html 即可使用

About

PHP利用Github与jsdelivr生成文件直链(对象存储/图床)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 71.4%
  • PHP 28.6%