A website that supports HTTP downloads, pauses, resumes, redownloads, deletes, rate-limiting, and parallel multitasking downloads.
Web: Alpinejs
+ Tailwindcss
+ heroicons
Server: Go
+ Gin
+ Gorm
+ carrot
+ SQLite
Click -> Live Server or Search Live Server
in vscode
live server settings ignore files
Edit in settings.json
"liveServer.settings.ignoreFiles": [
"**/server/**/*",
"**/*.go",
"**/*.db",
]
cd ui
cd public/index.html
Right click the mouse to select -> Open with Live Server
git clone https://github.com/Lemon001017/HTTP-download-server.git
cd server
go mod tidy
go mod download
go test ./...
cd cmd
go run . -dsn file:dev.db
http://localhost:8000/api/docs/