Coder Social home page Coder Social logo

ferdinandsu / seconddimensionwatcherlite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hcgstudio/seconddimensionwatcher

0.0 1.0 0.0 65.74 MB

在人们看“二次元动画”的时候,经常性地需要从一些网站上下载种子,然后手动下载。人们喜欢在手机或者平板电脑上进行“二次元观测”,然而人们往往不喜欢(或者不能)在移动设备上下载种子,因此需要将下载好的“二次元动画”从电脑传输到移动设备上进行观看。这造成了很多不便,因此,二次元观测器横空出世,能够自动化或半自动化地从云端下载并且方便您在任何喜爱的设备上观看您喜欢的“二次元动画”。

License: Apache License 2.0

JavaScript 68.16% C# 21.28% CSS 1.20% HTML 9.36%

seconddimensionwatcherlite's Introduction

二次元观测器

介绍

在人们看“二次元动画”的时候,经常性地需要从一些网站上下载种子,然后手动下载。人们喜欢在手机或者平板电脑上进行“二次元观测”,然而人们往往不喜欢(或者不能)在移动设备上下载种子,因此需要将下载好的“二次元动画”从电脑传输到移动设备上进行观看。这造成了很多不便,因此,二次元观测器横空出世,能够自动化(TODO)或半自动化地从云端下载并且方便您在任何喜爱的设备上观看您喜欢的“二次元动画”。

部署说明

组件需求

在0.1版本发布之前的任何的构建,需要您下载并安装以下的组件:

PostgreSQL

Asp .Net Core Runtime (如果你用的是Windows,就下载右边的)

qBittorrentqBittorrent Enhanced

之后的版本可能会发布自带上述组件的开箱即用版本或者docker版本。

qBittorrent 额外设置

设置-Web UI中,请勾选Web 用户界面(远程控制)对本地主机上的客户端跳过身份验证

配置程序

在启动前,您需要手动填写一些配置。

用您喜欢的编辑器打开appsetting.json,下面的字段需要您手动填写:

  • FetchUrls:数组,您的蜜柑计划订阅RSS链接。
  • ConnectionStrings:DefaultConnection:字符串,你的PostgreSQL链接字符串,如果你不清楚,但是记得安装过程中设置了一个密码,那大概率是User ID=postgres;Password=你的密码;Host=localhost;Port=5432;Database=sdw;Pooling=true;Connection Lifetime=0;
  • DownloadDir:字符串,下载的“二次元动画”储存位置,当然你可以使用默认的。

启动程序

若您使用的是Windows,启动SecondDimensionWatcher.exe即可,若使用Linux或macOS,启动SecondDimensionWatcher或者dotnet SecondDimensionWatcher.dll

默认在[::1]监听5000与5001端口,若要改变请在appsettings.json中修改。

5001端口监听的证书默认为自签证书,若要信任自签证书,请运行dotnet dev-certs https --trust。若要提供SSL证书,在appsetting.json中的Kestrel:Endpoints:Https:Certificate:Path中添您pfx格式证书的路径,在Kestrel:Endpoints:Https:Certificate:Password中添加您pfx格式证书的密码。

若您不想使用https,可以去掉Kestrel:EndPoints中的HTTPS选项。但是为了数据安全,我们强烈建议您使用HTTPS。

此外,也可以通过Nginx反代添加SSL证书。

seconddimensionwatcherlite's People

Contributors

ferdinandsu avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.