Spanish Total.js
English
Documentation For AI agents
Contents

OpenFiles 1.0

Store the files your apps upload through a REST API, share them with permanent links and manage them in a web interface.

Getting started

  • Introduction

    What OpenFiles is, what it does and where to start.

  • Install from source

    Install OpenFiles with Node.js and start it on your computer or server.

  • Install with Docker

    Build a Docker image from the OpenFiles code and run it with your data in a volume.

  • First sign-in

    Sign in with the first-start account and replace it with your own credentials.

File storage

  • Storages

    Create a storage for a group of files and drop a storage you no longer need.

  • Browse files

    Open a storage, find files with filters and sorting, and open or share a file.

  • Rename and remove files

    Change the name of a file or delete it from a storage.

API access

  • API tokens

    Create a token for each app that uploads files, copy it, edit it and remove it.

  • Token permissions

    Which permissions a token can have and which combination an upload needs.

Administration

  • Your account

    Change your name, login and password, and sign out.

  • Settings

    Change the name OpenFiles shows in the header and in the browser tab.

  • Index files in PostgreSQL

    Keep a table of all uploaded files in PostgreSQL in addition to the files on disk.

  • Back up your data

    Which folder to copy so you can restore files, tokens, settings and the account.

  • Run in production

    Settings and habits that keep an OpenFiles server safe.

REST API

  • REST API overview

    The endpoints your apps call, how to send the token and what comes back.

  • Upload files

    POST /upload/{db}/: upload one or more files as multipart/form-data.

  • Upload Base64

    POST /base64/{db}/: upload one file sent as a Base64 data URI in JSON.

  • File links

    The public link of a stored file, how to force a download and what the answer contains.

  • Errors and limits

    The status codes and error texts of the upload API and its size limits.

Configuration

Recipes

FAQ

  • Sign-in

    Questions about the admin account and signing in.

  • Files and links

    Questions about uploading files and sharing their links.

  • API tokens

    Questions about API tokens and permissions.

Made in Europe