All Projects → YunzheZJU → non-stop-story

YunzheZJU / non-stop-story

Licence: MIT license
Backend for holo-schedule on Rails.

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to non-stop-story

Holodex
Holodex frontend source code
Stars: ✭ 395 (+2094.44%)
Mutual labels:  vtuber, hololive
aqua-fanpage
⚓ 湊あくあ Fanpage created with Svelte and Sveltestrap.
Stars: ✭ 30 (+66.67%)
Mutual labels:  vtuber, hololive
vtuber-livechat-dataset
📊 VTuber 1B: Billion-scale Live Chat and Moderation Event Dataset for NLP
Stars: ✭ 30 (+66.67%)
Mutual labels:  vtuber, hololive
Unity live caption
Use Google Speech-to-Text API to do real-time live stream caption on Unity! Best when combined with your virtual character!
Stars: ✭ 26 (+44.44%)
Mutual labels:  vtuber
XLand
Live2D VTuber(Virtual YouTuber) App with extensible node graph editor
Stars: ✭ 62 (+244.44%)
Mutual labels:  vtuber
Auto Record Matsuri
A tiny program can fetch Matsuri's Live(Vtuber)
Stars: ✭ 61 (+238.89%)
Mutual labels:  vtuber
hollow memories
Save your precious memories.
Stars: ✭ 49 (+172.22%)
Mutual labels:  hololive
mano-aloe
For the Mano Aloe Support Squad Server
Stars: ✭ 19 (+5.56%)
Mutual labels:  hololive
pekofy-bot
Source code of u/pekofy_bot from reddit.
Stars: ✭ 33 (+83.33%)
Mutual labels:  hololive
vignette
The open source VTuber software. ❤
Stars: ✭ 330 (+1733.33%)
Mutual labels:  vtuber
awesome-vtuber
Awesome Virtual Youtuber ('s Github Project)
Stars: ✭ 46 (+155.56%)
Mutual labels:  vtuber
live-stream-recorder
Monitor and record live streams from YouTube, OPENREC, TwitCasting, etc. Made for VTuber fans. (VTuber 直播自动录像脚本)
Stars: ✭ 297 (+1550%)
Mutual labels:  vtuber
UnityHandTrackingWithMediapipe
Realtime hand tracking and finger tracking in Unity using Mediapipe
Stars: ✭ 129 (+616.67%)
Mutual labels:  vtuber
HoloLensWithDlibFaceLandmarkDetectorExample
HoloLens With DlibFaceLandmarkDetector Example
Stars: ✭ 19 (+5.56%)
Mutual labels:  vtuber
DeepVTB
🌌 OpenVTuber-虚拟アイドル共享计划 An application of real-time face and gaze analyzation via deep nerual networks.
Stars: ✭ 32 (+77.78%)
Mutual labels:  vtuber
home
这里是GitHub的草场,也是戈戈圈爱好者的交流地,主要讨论动漫、游戏、科技、人文、生活等所有话题,欢迎各位小伙伴们在此讨论趣事。This is GitHub grassland, and the community place for Gege circle lovers, mainly discusses anime, games, technology, lifing and other topics. You are welcome to share interest things here.                                                                                              …
Stars: ✭ 268 (+1388.89%)
Mutual labels:  vtuber
VRMocap
A SteamVR powered mocap solution for Unreal Engine
Stars: ✭ 88 (+388.89%)
Mutual labels:  vtuber

Non-stop-story

Test status

日本語 中文

v1.3 KARKINOS

Table of contents

  1. Introduction
  2. What is a 'worker'?
  3. Ruby version
  4. System dependencies
  5. Configuration
  6. Database initialization
  7. Test suite
  8. Job queue services
  9. Deployment instructions
  10. More

Introduction

Non-stop-story is a public API server project for VTuber live streams, which offers a stable and reliable data source.

It gathers various live infos from 'worker's and manages the interaction with a persistent database for developers.

RESTful API is now available at HOLO.DEV:

/api/v1/lives/current
/api/v1/lives/scheduled
/api/v1/lives/ended
/api/v1/lives/open
/api/v1/lives/1
/api/v1/members
/api/v1/channels
/api/v1/platforms
/api/v1/rooms
/api/v1/hotnesses

GraphQL API is available at:

/graphql

You can also have a try the friendly GUI here.

What is a 'worker'?

Worker is another server which returns live infos according to the channelIDs passed through querystring.

Worker can be considered as an async and pure function.

There are various kinds of workers each of which is running for a specific platform.

There also exist workers for the same platform but are using different methods internally to fetch infos.

A Non-stop-story server/instance may combine different kinds of workers together to best fit its needs.

Here is a collection of sample workers.

Ruby version

2.6.5

System dependencies

DEVELOPMENT:

  • Bundler, which allows you to execute rails commands without much efforts
  • SQLite3, a lightweight database suitable for test and development

PRODUCTION

  • Bundler
  • MySQL/PostgreSQL, or any database that rails supports. Modify Gemfile if you are not using PostgreSQL
  • Unicorn/Puma, acts as a web server
  • NginX, recommended as a reverse proxy server

Configuration

  • config/database.yml stores database connection preferences.

  • config/worker.yml stores the various workers' addresses you use.

  • config/email.yml stores email configurations used in daily summary emails.

  • config/job.yml stores the frequency of live detection.

  • config/credentials.yml.enc stores encoded sensitive data such as admin username and password. Rails guides on credentials. You must provide username and password under key http_basic before you deploy.

Database initialization

You can manually setup the database:

# Create database if it does not exist
bundle exec rails db:create
# Run migrations
bundle exec rails db:migrate
# Seed your database
bundle exec rails db:seed

or make use of db:schema.rb:

# This will create the database if it does not exist, load the schema, then seed it
bundle exec rails db:setup

Test suite

Run

bundle exec rails t

Job queue services

No external queue tools is required. The built-in job queue backend Async is enough.

Deployment instructions

Read this post for a basic understanding of how to deploy Rails.

More

TODO

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].