Skip to content

fossyy/filekeeper

Repository files navigation

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

  1. Ensure you have Docker installed on your system. If not, download and install Docker from here.

  2. Clone the repository:

  docker pull fossyy/filekeeper:latest
  1. Install dependencies:
  docker run -d --name filekeeper -v /path/to/data:/src/uploads -p 8000:8000 fossyy/filekeeper:latest
  1. 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:

  1. Clone the repository:
  https://github.com/fossyy/filekeeper.git
  1. Install dependencies::
  cd filekeeper
  go mod tidy
  1. Build and run the application:
  make
  1. Access the application in your web browser: http://localhost:8080

Demo

https://filekeeper.my.id

Authors

License

Creative Commons Attribution–NonCommercial 4.0 CC BY-NC