diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1ed666a Binary files /dev/null and b/.gitignore differ diff --git a/README.md b/README.md index 162ec36..d0801d1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,8 @@ -# go-fileserver +# Go File Server with Dashboard +A self-contained Go application that: + +- Serves file uploads via web UI +- Tracks uploads/downloads with timestamps +- Displays an admin dashboard with a Bootstrap UI and Chart.js graphs +- Serves all frontend files locally (no CDN) \ No newline at end of file diff --git a/dashboard.html b/dashboard.html new file mode 100644 index 0000000..4ca4a8d --- /dev/null +++ b/dashboard.html @@ -0,0 +1,67 @@ + + +
+ +| IP | File | Time |
|---|---|---|
| {{.IP}} | {{.File}} | {{.Timestamp.Format "2006-01-02 15:04:05"}} |
| IP | File | Time |
|---|---|---|
| {{.IP}} | {{.File}} | {{.Timestamp.Format "2006-01-02 15:04:05"}} |