
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
course-binder
Advanced tools
Binder is a compiler that bundles a set of videos into a course program. The compiler deploys the course to your Digital Ocean account via the Spaces API. You can then load and run the program using our native iOS or Android apps called Userland. Userland supports features such as progress tracking, offline caching and more coming soon. We want to make it easier to consume and complete online courses.
npm install -g course-binder
Get an account on Digital Ocean
Create access tokens for Spaces API from the dev console
Set the Digital Ocean Space endpoint, key and secret in your environment:
DO_SPACE_ENDPOINT=https://nyc3.digitaloceanspaces.com
DO_SPACE_KEY=DO00CE96V9TKWYEXHA6W
DO_SPACE_SECRET=uAJYxWaawOPN6J6pQkavNhuYd7QQh/+VmOjI/NWv+HQ
A course is specified in JSON. Videos are sourced off the local filesystem with path relative to spec file. Here is a sample with just one module and one video file:
{
"name": {
"bundle": "neuro-training",
"display": "The Positive Neuroplasticity Training"
},
"author": "Rick Hanson",
"version": "0.1.0",
"modules": {
"The Essence of Postiive Neuroplasticity": {
"Welcome and Introduction": {
"type": "video/mp4",
"path": "PNT Class 1, Part 1.mp4"
}
}
}
}
To compile the course and deploy to Digital Ocean:
binder path/to/mycourse.json
If there are no errors, the compiler will return a link to access the course material:
https://nyc3.digitaloceanspaces.com/<bundle name>/index.html
To test the compiler out, I built 3 courses I've taken in the past. The JSON specifications for these coureses are availalble in the examples directory. The video files are not here because the content is owned by the authors of the videos.
This course allowed me to download offline copies of the videos in mp4 format so I could run my compiler directly on those files. Binder file.
This course uses Wistia as it's learning management system (LMS). I was able to find a Wistia video downloader chrome extension and pull copies of the videos in mp4 format. Binder file.
The videos for this course are hosted on Youtube so I used pytube to dump each of the videos to mp4 format and ran them through the compiler. Binder file.
FAQs
a compiler for building online courses
We found that course-binder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.