跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[分享发现] [更新] 全新的 telegraph 图床已支持访客验证

发表于

当 enableAuth 为 true 时,访问根路径 / 需要进行验证,而访问 /admin 不需要验证。

当 enableAuth 为 false 时,访问根路径 / 不需要进行验证,访问 /admin 需要进行验证。

一般情况下,只需更新 function.js 文件中的代码即可!

源码: https://github.com/0-RTT/telegraph

已实现的功能:

  • 支持访客验证。
  • 支持图片审查。
  • 支持粘贴上传。
  • 支持多文件上传。
  • 支持后台文件管理。
  • 支持上传大于 5MB 的图片。
  • 支持选择图片后会自动上传。
  • 支持压缩功能,默认选择图片后自动压缩。
  • 支持在管理界面显示图片上传时间,并按上传时间排序。
  • 支持修改后台路径为 /admin ,可在代码的第二行进行调整。
  • 支持 JPEG 、JPG 、PNG 、GIF 和 MP4 格式,GIF 和 MP4 的大小需≤5MB 。
  • 默认仅代理数据库中的图片链接,访问通过其他 TG 图床上传的链接返回 404 。
  • 支持 URL 、BBCode 和 Markdown 格式,点击对应按钮可自动复制相应格式的链接。
  • 对于需要自定义用户界面的用户,您可以自行修改代码。在修改时希望您能保留项目的开源地址

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.