Giter Site home page Giter Site logo

teacher.js's Introduction

teacher.js

about

https://teacher.solar/

additional links

description

screenshot

the teacher.js web application has the following features:

  • matrix chat (via an embedded hydrogen client)
  • collaborative text editing (via an embedded etherpad lite instance)
  • webrtc audio conferencing (using janus + audiobridge plugin)
  • synchronization between the client with the instructor role and all other clients via websockets, so that students will always see what the teacher sees:
    • reveal.js presentations
      • connected clients are notified about slide changes, etc.
    • wikipedia pages
      • connected clients are notified about changes (page transitions, jumping to specific sections within the page, etc.)
  • recording of teaching sessions (to be replayed at a later time)
    • the links to any opened presentation or wikipedia page are automatically be posted to a matrix room
    • the audio conference is saved to a file
    • relevant events (caused by the presentation / wikipedia module, etc.) are time-stamped and logged to a file on the server

architecture overview

architecture diagram

conventions

  • this repo uses git-flow
    • stable / production branch: master
    • development / testing branch: develop

setup

install dependencies:

git clone --recursive <this-repo> teacher.js
cd teacher.js
npm install

cd src/hydrogen
npm install

config

rename src/.env-example to src/.env and edit according to your needs.

run

  • run server: DEBUG='T.S:*' npm run server
  • run webpack dev server (client): npm run dev
  • run hydrogen dev server: cd src/hydrogen ; npm run start
    • runs on port 3001 by default

then open http://localhost:8080.

build

production build:

npm run build:prod

building hydrogen:

cd src/hydrogen
npm run build # output will be in src/hydrogen/target

deploy

TODO

teacher.js's People

Contributors

freder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

hromi

teacher.js's Issues

env var for all config parameters

Many things are now still defined in src/shared/constants.ts etc.
Ideally, all configuration parameters and constants should be defined in .env and nowhere else.

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.