modulepackage
0.0.0-20241225094426-a66cf7ab0f27
Repository: https://github.com/fossyy/filekeeper.git
Documentation: pkg.go.dev
# README
FileKeeper
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.
Environment Variables
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
Usage
Running with Docker
-
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
Running Locally
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
Demo
Authors
License
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author