https://github.com/jatin123lodhi/code-server-automation
🚀 Live Code Preview | Mimicking AI-Generated Code in VS Code
https://github.com/jatin123lodhi/code-server-automation
code-server docker nodejs vs-code
Last synced: 9 months ago
JSON representation
🚀 Live Code Preview | Mimicking AI-Generated Code in VS Code
- Host: GitHub
- URL: https://github.com/jatin123lodhi/code-server-automation
- Owner: Jatin123lodhi
- Created: 2025-03-18T22:39:46.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2025-03-18T22:45:30.000Z (9 months ago)
- Last Synced: 2025-03-18T23:29:11.259Z (9 months ago)
- Topics: code-server, docker, nodejs, vs-code
- Language: JavaScript
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Code Server Automation
Was experimenting with a feature after giving a prompt, different files in the code editor come into focus, and you can see the code appearing live.
## Technical Stack
- Docker container running code-server (v4.96.4)
- Node.js for backend automation
- File System (fs) module for file operations
- Volume mounting for real-time code updates
## Setup
```bash
# Build the Docker image
docker build -t my-code-server .
# Run the container with volume mounting
docker run -d --name my-code-container -p 8080:8080 -v ${PWD}/workspace:/home/coder/workspace my-code-server
```
## Features
- Real-time code updates through volume mounting
- Automated file focus and code display
- Interactive development environment
## Video Explanation -
https://drive.google.com/file/d/1Ay4J6eX_CVM0i5VB3tguQU2C_Xt59iWS/view?usp=sharing