FileKeeper is a file hosting service built with pure Golang and some JavaScript. It allows users to securely upload, store, and manage files on a server.
To run this project, you will need to add the following environment variables to your .env file example file
SERVER_HOST
SERVER_PORT
DOMAIN
CORS_PROTO
CORS_LIST
CORS_METHODS
DB_HOST
DB_PORT
DB_USERNAME
DB_PASSWORD
DB_NAME
SMTP_HOST
SMTP_PORT
SMTP_USER
SMTP_PASSWORD
SESSION_NAME
SESSION_MAX_AGE
-
Ensure you have Docker installed on your system. If not, download and install Docker from here.
-
Clone the repository:
docker pull fossyy/filekeeper:latest
- Install dependencies:
docker run -d --name filekeeper -v /path/to/data:/src/uploads -p 8000:8000 fossyy/filekeeper:latest
- Access the application in your web browser: http://localhost:8080
If you prefer to run the app locally without Docker, follow these steps:
- Clone the repository:
https://github.com/fossyy/filekeeper.git
- Install dependencies::
cd filekeeper
go mod tidy
- Build and run the application:
make
- Access the application in your web browser: http://localhost:8080