Skip to content

vital987/code-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSCode Logo      Coder Logo

Visual Studio Code Server

Debian Version Maintainer Maintainance Pulls License: GPL v3
VS Code
CodeServer

Table of contents :

Specifications :

  • Theme : Atom One Dark
  • Icon Theme : Material Icon Theme
  • Font : Monospace
  • Extensions Installed :
    • Bracket Pair Colorizer 2
    • C# Intellisense
    • C/C++ Intellisense
    • Code Runner
    • Draw.io Integration
    • Language Support for Java(TM) by Red Hat
    • Markdown All in One
    • NPM Intellisense
    • PowerShell
    • Python Intellisense
    • VSCode Action Buttons
    • Rust-Lang
  • Google Drive Upload
  • Languages Installed :

    C  C++  C Sharp  Clojure  Go  Java  Javascript  Lua  Perl  PowerShell  Python  R  Raku  Ruby  Shellscript  Scala  Swift

Environment Variables :

CS_VERSION 3.11.0
AUTH_TYPE Code-Server login type: {password, none}
PASSWORD Code-Server login password (If AUTH_TYPE=password)
CODESERVER_PORT Code-Server web access port
CUSTOM_HOME Custom home directory for Heroku
WORKSPACE_DIR Code-Server working directory
NGROK_TOKEN Ngrok Token

Installation :

  • For Heroku Users :
    • Hit the Heroku Deploy button on the forked repo's readme.
    • [ ! ] Set AUTH_TYPE value to none if you dont want any login password prompt.
  • For Non-Heroku Users : Edit & Run Command : docker run --name code-server -e AUTH_TYPE="password" -e PASSWORD="samplepass" -e CODESERVER_PORT="9870" -e NGROK_TOKEN="<YOUR NGROK TOKEN>" -d -p 8080:9870 vital987/code-server
  • [ ! ] Set AUTH_TYPE value to none if you dont want any login password prompt.

Usage :

  • Open the heroku app URL, non-heroku users, port-forward the using Ngrok: ngrok http $CODESERVER_PORT
  • Login with the password (value of $PASSWORD).
  • Buttons present at the bottom bar :
    • : Refresh the buttons.
    • ClearWorkspace : Deletes all the folders in workspace directory.
    • ResetWorkspace : Resets the workspace folder with all sample files.
    • [ ! ] The buttons need to be refreshed everytime after use.

Screenshots :

  • SS1
  • SS2

Credits :