https://github.com/escalopa/voca-box
A lightweight web application for real-time file sharing with voice recording capabilities
https://github.com/escalopa/voca-box
audio go real-time upload
Last synced: 8 months ago
JSON representation
A lightweight web application for real-time file sharing with voice recording capabilities
- Host: GitHub
- URL: https://github.com/escalopa/voca-box
- Owner: escalopa
- Created: 2025-05-27T18:12:50.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-27T20:17:48.000Z (about 1 year ago)
- Last Synced: 2025-05-27T21:23:24.578Z (about 1 year ago)
- Topics: audio, go, real-time, upload
- Language: HTML
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# voca-box βΊοΈ
A lightweight web application for real-time file sharing with voice recording capabilities.

## β¨ Features
- real-time updates
- voice recording / playback
- file upload / download
- responsive design
## π Start
```bash
go run main.go
```
The application will start on `http://localhost:3000`
## π Structure
```
voca-box/
βββ main.go # backend server
βββ go.mod # module file
βββ index.html # frontend HTML file
βββ README.md # current file
```
## π‘ API
| Method | Endpoint | Description |
|--------|----------------|--------------------------------------------|
| GET | `/` | Serves the frontend HTML |
| POST | `/upload` | Upload files (multipart/form-data) |
| POST | `/record` | Upload recorded audio (same as /upload) |
| GET | `/messages` | Get list of all uploaded files |
| GET | `/message/:id` | Download or stream a specific file |
| GET | `/formats` | Get supported file formats and size limits |
| WS | `/ws` | WebSocket endpoint for real-time updates |
## π License
This is a demo application. Use at your own risk.