


Captura 1 de 4
Ampliar
Acerca del proyecto
Go Live Pages is a Visual Studio Code extension that lets you create an ultra-efficient local web server using Go, inspired by Live Server but with key improvements: dynamic rendering without full reload, SPA-like navigation, real-time communication via WebSockets, and automatic project organization.
Stack Tecnológico
Tecnologías utilizadas
- Go (Golang)
- TypeScript
- Fsnotify
- Mutex
- WebSockets
Características clave
Funcionalidades principales
- Changes pages and updates the URL and content dynamically, without reloading the entire site.
- Smooth transitions if the browser supports the View Transitions API.
- Efficient rendering with Go templates.
- Fast and flexible for generating dynamic pages.
- Real-time communication for instant reloads, messages, or synchronization.
- Home folder with views, styles, images, and JS.
- Cross-platform support.
- HTML files and templates are stored in RAM for near-instant responses.
- Integrated WebSockets.
- Smart, Always-Up-to-Date Cache.
- Detects new or modified files and updates them on the fly.
- Multiple users can read simultaneously; writes are blocked in a controlled manner with sync.RWMutex.
- fsnotify monitors changes and updates the cache in real time, including CSS, JS, and images.
Lecciones Aprendidas
Retos resueltos e investigación
- Development of extensions for VS Code with Go + Web integration.
- Concurrent programming in Go, using goroutines and sync.RWMutex.
- Real-time communication with WebSockets.
- Implementation of hot-reload and file watcher with fsnotify.
- Design of SPA-like navigation and modern transitions.
- Optimized in-memory caching for performance and low latency.
- Architected scalable and cross-platform applications.