Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

code-live-instructor

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-live-instructor

A tool that allows live syncing from an instructor's code project to a student's computer. Must be paired with code-live-student.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by400%
Maintainers
2
Weekly downloads
 
Created
Source

code-live - instructor

code-live is a tool used to help instructors live sync their code with their students. These live syncing files can be used to compare to the student's code and help prevent bugs/errors.

code-live will run a server in the background and watch the files in the directory that the command was executed. Any file or folder created, changed, moved or deleted will be synced with anyone who has connected to your code-live server.

This package only works when paired with code-live-student.

Installation

Using npm:


npm i -g code-live-instructor

Usage

Navigate to the directory that will hold the code files and folders that you want to be synced and run:


code-live-start

The code-live server will start running in the background on port 5050 and will emit any changes. Immediately, you will see [student-command]: code-live *your ip address*. This is the command that the students need to run to connect to your server.

When someone connects to your code-live server, it will notify you in the terminal of the connection by printing connected: [socket id of the connection].

Helpful commands:

  • file [filepath] will sync an individual file to all student connections. Example: file ./functions.js
  • all will sync all folders and files with students.
  • end will close all student connections to your server.
  • command will give you the student command to connect to your server.
  • help will display all the above commands in the terminal.

FAQs

Package last updated on 01 Aug 2018

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