https://github.com/jdecool/videos-viewer
https://github.com/jdecool/videos-viewer
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/jdecool/videos-viewer
- Owner: jdecool
- License: mit
- Created: 2025-01-14T20:32:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-15T09:39:10.000Z (over 1 year ago)
- Last Synced: 2025-04-01T18:09:56.720Z (about 1 year ago)
- Language: Go
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Videos Viewer
This project is a simple web application that allows users to browse and play video files stored in a specified directory.
## Features
- **Video Browsing**: Users can view a list of videos in a specified directory.
- **Video Playback**: Users can play videos directly in the browser.
- **Viewed Status**: The application tracks which videos have been viewed and allows users to mark them as unviewed.
## Requirements
- Go (version 1.23 or higher)
- A directory containing video files (supported formats: .mp4, .avi, .mkv, .mov, .wmv, .flv, .webm)
- A JSON file `viewed_videos.json` will be created in the videos directory to store the viewed status.
## Installation
1. Clone the repository:
```bash
git clone
cd
```
2. Build the application:
```bash
go build -o video-player main.go
```
3. Run the application:
```bash
./video-player
```
Replace `` with the path to the directory containing your video files.