Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Hoshino-Yumetsuki/Mongodb-Drive-Hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mongodb-Drive-Hub

Use a high-performance Mongodb database cluster to store your files

Getting Started

Requirements

pymongo
py7zr
tabulate
flask
jsonify

Use

Use .py

  • clone this repositories
  • cd to cli
  • install dependencies
  • edit or create uri_list.json in cli
    • like this
    {
      "uri_list": [
          "<your_db_uri>",
          "and more ..."
      ]
    }
  • run python main.py

Use Docker

  • docker build -t mongodb-drive-hub:latest . --build-arg URI_LIST=./uri_list.json
  • docker run -d --name -p :19198 mongodb-drive-hub:latest

You can even deploy it to Huggingface Space

How to store files

Special thanks

Thanks to Tsinghua University Open Source Software Mirror Station for inspiring my web page style development.