Free and Open-source video streaming suite. https://miracle-tv.live
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Dale 6377e85225
misc: Better build
2 months ago
module-releases misc: 2 months ago
src feat: Ready for deployment via nix 2 months ago
.gitignore feat: Ready for deployment via nix 2 months ago
.prettierignore feat: Added prettier 2 months ago
.prettierrc.json feat: Added prettier 2 months ago
README.md misc: 2 months ago
codegen.yml major: GraphQL Rewrite 2 months ago
default.nix misc: Better build 2 months ago
graphql.schema.json feat: Ready for deployment via nix 2 months ago
module.nix feat: Ready for deployment via nix 2 months ago
package.json misc: Better build 2 months ago
packages.nix feat: Working nix build 2 months ago
result feat: Ready for deployment via nix 2 months ago
tsconfig.json misc: Better build 2 months ago
yarn.lock feat: Ready for deployment via nix 2 months ago
yarn.nix feat: Ready for deployment via nix 2 months ago

README.md

MiracleTV

A Streaming Suite

Server part of MiracleTV Suite

Running requirements

  • NodeJS 14>
  • Yarn
  • RethinkDB 2.4.1>

Development Requirements

  • Nix (Strongly encouraged, but optional)
  • NodeJS 14>
  • Yarn
  • RethinkDB 2.4.1>

Building and running

Non-nix

  • yarn
  • ./bin/build.sh
  • nodejs -r ts-node/register/transpile-only -r tsconfig-paths/register dist/server.js

Nix

  • nix-env -f default.nix
  • miracle-tv

Development

Non-nix

  • yarn
  • yarn dev

Nix

  • nix-shell
  • yarn-dev

GraphQL schemas, resolvers and mutations can be found in src/graphql. GraphiQL for testing is available over at http://localhost:4000/graphql for testing.

Before commit

Before commiting, if you have altered packages installed for the project, please regenerate nix/yarn.nix using yarn2nix and copy package.json and yarn.lock to /nix folder as well. This is to make sure changes to the code and not the dependecies do not trigger extra rebuilds. If you don't use nix, please reach out to somebody who can do that for you.

Deploying with nix

I like to live safely