All Projects → forscht → ddrive

forscht / ddrive

Licence: MIT License
A lightweight cloud storage system using discord as storage device written in nodejs

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to ddrive

mass-dm-discord
A MassDM selfbot which is working in 2021. Only for educational purposes 🥱🚀
Stars: ✭ 87 (+248%)
Mutual labels:  discordjs, discordbot
corde
🤖 A simple e2e library for testing Discord Bots 🚀
Stars: ✭ 60 (+140%)
Mutual labels:  discordjs, discordbot
yesno
A simple Discord yes/no poll bot with slash commands!
Stars: ✭ 29 (+16%)
Mutual labels:  discordjs, discordbot
suggestions-bot
A Discord bot designed to build better communities by encouraging a positive and constructive relationship between community and staff.
Stars: ✭ 22 (-12%)
Mutual labels:  discordjs, discordbot
persistence
💾 Persistence provides a pretty easy API to handle Storage's implementations.
Stars: ✭ 18 (-28%)
Mutual labels:  storage, localstorage
disco.js
Guide for Advanced Discord.js x MongoDB systems
Stars: ✭ 34 (+36%)
Mutual labels:  discordjs, discordbot
Welcome-Bot
A cool multi-purpose discord bot that solves all your problems. I have features such as Moderation, ModLog, Welcome & Goodbye logs, Fun, Music
Stars: ✭ 73 (+192%)
Mutual labels:  discordjs, discordbot
stoor
Storage wrapper with support for namespacing, timeouts and multi get/set and remove.
Stars: ✭ 26 (+4%)
Mutual labels:  storage, localstorage
Discord-Bot-TypeScript-Template
Discord bot - A discord.js bot template written with TypeScript.
Stars: ✭ 86 (+244%)
Mutual labels:  discordjs, discordbot
Discord-Reposter
Bot for reposting Discord messages (work in progress)
Stars: ✭ 62 (+148%)
Mutual labels:  discordjs, discordbot
Discord-BOT-Dashboard
This version is outdated, please check out Discord BOT Dashboard v2
Stars: ✭ 32 (+28%)
Mutual labels:  discordjs, discordbot
Discord-Tools
VSCode extension allowing the integration of a Discord chat, bot templates, snippets, themes and more!
Stars: ✭ 91 (+264%)
Mutual labels:  discordjs, discordbot
LenoxBot
🖥️ LenoxBot is a Discord bot that offers many cool new features to your Discord server!
Stars: ✭ 218 (+772%)
Mutual labels:  discordjs, discordbot
storage-abstraction
Provides an abstraction layer for interacting with a storage; the storage can be local or in the cloud.
Stars: ✭ 36 (+44%)
Mutual labels:  storage, cloud-storage
phaser-super-storage
A cross platform storage plugin for Phaser
Stars: ✭ 49 (+96%)
Mutual labels:  storage, localstorage
sharedsharder
Shard your discord.js bot across devices!
Stars: ✭ 18 (-28%)
Mutual labels:  discordjs, discordbot
discord-voice
⏲️ A complete framework to facilitate the tracking of user voice time using discord.js
Stars: ✭ 33 (+32%)
Mutual labels:  discordjs, discordbot
partner-bot
Automates partnerships in the big community of discord.
Stars: ✭ 119 (+376%)
Mutual labels:  discordjs, discordbot
Xenon-Bot-JavaScript-Edition
non-official xenon bot javascript edition , a bot for backup discord servers and more features .
Stars: ✭ 60 (+140%)
Mutual labels:  discordjs, discordbot
vue-web-storage
Vue.js plugin for local storage and session storage (1.8 kb min+gz) 💾
Stars: ✭ 85 (+240%)
Mutual labels:  storage, localstorage

DDRIVE

Turns Discord into a datastore that can manage and store your files.


DDrive A lightweight cloud storage system using discord as storage device written in nodejs. Supports unlimited file size and unlimited storage, I've implemented it using node js streams with multi-part up & download.

Current development branch 3.x

Features

  • Theoretically unlimited file size thanks to splitting the file in 8mb chunks using nodejs streams API.
  • Simple yet robust HTTP front end
  • Tested with storing 1 TB of data on single discord channel (Few files are over 5 GB).
  • Supports basic auth
  • Easily deploy on heroku/repl.it and use as private cloud storage.(Use ddrive v1 on repl, repl doesn't support node version 16 yet)

Requirement

  • NodeJS v16.x or Docker
  • Bot Token, Channel ID

Usage

DDRIVE - A lightweight cloud storage system using discord as storage device written in nodejs.
Options:
      --help       Show help                                           [boolean]
      --version    Show version number                                 [boolean]
  -P, --httpPort   Port of HTTP server                                  [number]
  -A, --auth       Username password separated by ":". ie - admin:password
                                                                        [string]
  -T, --token      Discord bot/user token                    [string] [required]
  -C, --channelId  Text channel id where data will be stored [string] [required]
      --config     Path to JSON config file

Installation

With NPM

npm install -g @forscht/ddrive
ddrive --token <bot token> --channelId <guild channel id>
# Open http://localhost:8080 in browser
# use <ddrive help> for more info

With Docker

docker run --rm -p 8080:8080 -it forscht/ddrive --port 8080 --token <bot-token> --channelId <guild-channel-id>
# Open http://localhost:8080 in browser
# use <docker run --rm -it forscht/ddrive help> for more info

With PM2 / Environment variables

#Linux / MacOS
DDRIVE_TOKEN=<bot token> DDRIVE_CHANNEL_ID=<channel id> pm2 start ddrive

#Windows CMD
set DDRIVE_TOKEN=<bot token> set DDRIVE_CHANNEL_ID=<channel id> pm2 start ddrive

#Windows powershell
$env:DDRIVE_TOKEN="<bot token>"
$env:DDRIVE_CHANNEL="<channel id>"
pm2 start ddrive

Fix Windows Powershell issue

#ERROR 
# ddrive : File C:\Users\<User>\AppData\Roaming\npm\ddrive.ps1 cannot be loaded because running scripts is disabled on this system. For more information
1. Open powershell as Administrator
2. run `set-executionpolicy remotesigned`
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].