Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
/ term-hub Public archive

Repository for OAuth2 proxy and cdr/code-server Docker container launcher.

License

Notifications You must be signed in to change notification settings

term-world/term-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

term-world: term-hub

This work is based largely on rafket's VSCode-Hub. This version does without implementing authentication in the nodejs daemon. OAuth proxying is handled by oauth2_proxy.

Functionality

term-hub uses dockerode to start containers once a proxied login occurs successfuly. It starts one container per user, given that the user in question doesn't already have a container running. These containers feature a two-way mount to a server's file system, meaning that the only reason for the container is to provide an isolated instance of cdr/code-server or, essentially, VS Code in the browser.