Skip to content

robonamari/dirlotix.py

This project is a file manager web application built with Python and Flask. It allows users to browse and download files on a server, view directory listings, and interact with different file types. The application also supports multi-language functionality and allows configuration of various settings like theme colors, fonts, and favicon.

Features

  • Browse and view files and directories.
  • Support for various file types (images, videos, audio, text, PDFs, and more).
  • Search and sort files by name, size, or last modified date.
  • Support for all living languages with dynamic loading via YAML files (based on the ISO 639-1 standard, covering approximately 176 languages).
  • Configurable theme colors, fonts, and favicon.
  • Error handling and redirection for various HTTP errors.

Self-host Configuration

4 Steps to Host Your Own Dirlotix-py

1. Clone the Repository

git clone https://github.com/robonamari/Dirlotix-py

2. Install Python and Dependencies

Install Python, then install the required Python dependencies:

pip install -r requirements.txt

3. Configure the Script

  1. Rename .env.example to .env.
  2. The full descriptions of the environment variables are written inside the .env file, and you need to fill them out accordingly.
  3. Create a folder named downloads and put all files, directories, or anything you want to make downloadable inside that folder.

4. Run the Script

python index.py

Done!

Your script should be fully configured and ready to run!

About

A Flask web app for directory listing, file serving, multi-language support, and customizable settings.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •