项目作者: Nexxkinn

项目描述 :
self-hosted gallery downloader
高级语言: TypeScript
项目地址: git://github.com/Nexxkinn/downhost.git
创建时间: 2020-09-07T08:16:33Z
项目社区:https://github.com/Nexxkinn/downhost

开源协议:

下载





DownHost



DownHost


Gallery archive and reader


Installation

  • install deno
  • prepare config.json and (optional) auth.json file.
  • run command
    1. deno run --allow-read --allow-write --allow-net http://nexxkinn.gitlab.io/downhost/dev/mod.ts

Config

  1. // config.json
  2. {
  3. "hostname":"localhost",
  4. "port":8080,
  5. "base_url": "",
  6. "catalog_dir":"",
  7. "webui_dir":"",
  8. "temp_dir":"",
  9. "pass":""
  10. }
  11. // auth.json, optional for selected sites.
  12. // check ./script/ for filename lists.
  13. {
  14. "script_filename" :{
  15. "u":"username",
  16. "p":"password"
  17. }
  18. }

Warning

  1. This app is under active development, and will prone
  2. to breaking changes.
  3. The app is prone to API Injection attack as the app
  4. has yet to implement input sanitazion. Do not expose
  5. the app to public network at all cost.
  6. USE IT WITH YOUR OWN RISK!!!

Limitation

  • prone to breaking changes in database

Todo

  • Gallery page/API
  • Fancy directory listing
  • Metadata support
  • Reader client
  • Restore download list
  • Stop/Pause download list
  • [?] Compactibilty with other apps

Special Thanks