VS Code Server draaien in de browser
ASD bevat een ingebouwde VS Code Server aangedreven door code-server. Het geeft je de volledige VS Code ervaring in je browser β extensies, geintegreerde terminal, Git, instellingen synchronisatie β bereikbaar vanaf elk apparaat. Met ASD tunnels kun je coderen op je server vanuit overal ter wereld.
Wat je krijgt
- Volledige VS Code ervaring in de browser
- Extensie-ondersteuning via Open VSX marketplace
- Geintegreerde terminal en Git
- Instellingen synchronisatie tussen sessies
- Toegang op afstand via ASD tunnels
Vereisten
- ASD CLI geinstalleerd (
asd init) - Het code-server binary (automatisch gedownload tijdens
asd init)
Stap 1: Start code-server
asd code startVoor status en URL's:
asd codeStap 2: Benader het
| Methode | URL Formaat | Gebruik |
|---|---|---|
| Lokaal | http://localhost:<poort>/ | Zelfde machine |
| Caddy | http://asd.localhost/asde/codeserver/ | Lokaal netwerk |
| Tunnel | https://hub-xxx.cicd.eu1.asd.engineer/asde/codeserver/ | Overal |
Stap 3: Authenticatie configureren
Alleen lokale toegang (geen wachtwoord):
ASD_CODESERVER_AUTH=noneToegang op afstand (met wachtwoord):
ASD_CODESERVER_AUTH=password
ASD_CODESERVER_PASSWORD=jouw-veilige-wachtwoordToegang op afstand via tunnel
# Schakel wachtwoord-auth in via .env
ASD_CODESERVER_AUTH=password
ASD_CODESERVER_PASSWORD=jouw-veilige-wachtwoord
# Start code-server
asd code start
# Schakel tunnel in
asd net apply --tunnel
# Verkrijg de URL
asd codeConfiguratieopties
| Variabele | Verplicht | Standaard | Beschrijving |
|---|---|---|---|
ASD_CODESERVER_PORT | Nee | (auto) | Poortnummer |
ASD_CODESERVER_AUTH | Nee | none | Auth modus: none of password |
ASD_CODESERVER_PASSWORD | Als auth=password | β | Inlogwachtwoord |
ASD_CODESERVER_WORKSPACE | Nee | project root | Map om te openen |
Extensies
code-server gebruikt de Open VSX marketplace in plaats van Microsoft's marketplace.
Meeste populaire extensies zijn beschikbaar: ESLint, Prettier, GitLens, taalondersteuning, thema's.
Niet beschikbaar: GitHub Copilot, Remote Development extensies, Live Share.
Stoppen
asd code stopWat nu
- Web Terminal met ttyd β standalone terminal toegang
- Database GUI met DbGate β visueel databasebeheer
- asd.yaml configureren β volledige projectconfiguratie
Kelvin Wuite
Kelvin Wuite is the founder of ASD B.V. With over eighteen years of development experience, he has witnessed the same patterns repeat across every software team - endless documentation, manual preparation, environment mismatches, and fragmented collaboration. His drive is to remove these barriers, enabling engineers to work together in unified environments with shorter feedback loops and hands-on collaboration. Since 2015 he has been refining these ideas, leading to ASD β a platform designed to create a faster, more integrated way for development teams to collaborate in an age where AI is thriving.
Related Articles
How to Expose Local Services with ASD Tunnels
Learn three ways to expose local services with ASD: quick expose for instant sharing, asd.yaml for daily development, and tunnel tokens for CI/CD automation.
ConfigurationHow to Configure asd.yaml for Your Project
Complete guide to configuring asd.yaml: define services, set up networking, add authentication, create automation tasks, and configure plugins for your project.
ServicesHow to Set Up a Web Terminal with ttyd
Set up a browser-based terminal with ttyd and ASD. Access your development machine from any device, anywhere, with password protection and HTTPS tunneling.