Skip to content

MertJSX/folder-host

Repository files navigation

📁 Folder Host

What is Folder Host?

It helps you to host your folder to your other friends or colleagues.

NodeJS is required!

Download Pre-Release

Tested on:
html5 html5 html5

Features

  • Accounts and account permissions
  • Code highlight
  • Recovery bin
  • Max folder size
  • Config file
  • Logs

Actions

  • Read Directories
  • Read Files
  • Write file
  • Upload Files
  • Download Files
  • Delete Files
  • Unzip Files
  • Create files and folders
  • Rename files and folders
  • Move files and folders
  • Copy files and folders

Client Screenshot (Client)

Default config.yml

Show config
# Port is required. Don't delete it!
port: 5000

# This is folder path. You can change it, but don't delete.
folder: "./test"

# Limit of the folder. Examples: 10 GB, 300 MB, 5.5 GB, 1 TB...
# You can remove it if you trust users.
storage_limit: "20 GB"

# This is secret encryption key to create encrypted tokens.
secret_encryption_key: "you must change it" # Example: 5asdasd1asd

# This is secret json web token key to create tokens.
secret_jwt_key: "you must change it" # Example: 5asdasd1asd

# You can create your own accounts for access
accounts:
  # All users should have unique name
  - name: "admin"
    # user password
    password: "12345"
    # You can manage user permissions.
    permissions:
      read_directories: true
      read_files: true
      create: true
      change: true
      delete: true
      move: true
      download: true
      upload: true
      rename: true
      unzip: true
      copy: true
  - name: "moderator"
    password: "123"
    permissions:
      read_directories: true
      read_files: true
      create: false
      change: false
      delete: false
      move: false
      download: false
      upload: false
      rename: false
      unzip: false
      copy: false

# Holds deleted files. Accidentally, you might delete files that you don't want to delete.
recovery_bin: false

# Optionally you can limit recovery_bin storage. You can remove it if you want.
bin_storage_limit: "100 GB"

# Enable/Disable logging activities
log_activities: true

# Enable/Disable getting foldersize on start
get_foldersize_on_start: true