New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/juzeon/anime-hostess

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/juzeon/anime-hostess

  • v0.0.0-20220123152609-16b6a0e479ab
  • Source
  • Go
  • Socket score

Version published
Created
Source

Anime Hostess

基于Web的自托管番剧库,支持调用B站弹幕。(弹弹play web版)

前端演示地址:https://anime-hostess.pages.dev

后端部署

后端采用 Go + gRPC + Redis 开发。

编译

需求:Go 1.16+

cd anime-hostess-backend
go build -ldflags="-s -w"

部署gRPC服务端

gRPC服务端提供弹幕搜索和获取。由于B站番剧的IP限制,境外IP无法浏览番剧及获取弹幕,故将该服务与主服务端拆分。建议部署在境内服务器,或运行在本地。

config.grpc.ini.example复制一份为config.grpc.ini,并根据配置文件中的注释进行修改后启动。

./anime-hostess -c config.grpc.ini

部署主服务端

主服务端提供自托管番剧的存储和索引服务。建议部署在大容量硬盘的服务器上,或运行在本地。

config.ini.example复制一份为config.ini,并根据配置文件中的注释进行修改后启动。

配置文件的gRPC服务地址需与实际部署的相同。在运行主服务端前,需要先运行gRPC服务。

./anime-hostess -c config.ini

前端部署

前端采用 Vue 开发。

编译

需求:Node.js 14+

cd anime-hostess-frontend
npm install
npm run build

然后将dist/中生成的文件部署到nginx等 Web 服务器的路径下。

配置

在设定界面,填入主服务端的地址。点击更新后即可使用。

截图

FAQs

Package last updated on 23 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc