Discord-based file sharing https://fyle.uk
Go to file
ImgBotApp 1d6ac68c7d
[ImgBot] Optimize images
*Total -- 456.58kb -> 418.60kb (8.32%)

/assets/apple-touch-icon.png -- 1.83kb -> 1.42kb (22.8%)
/assets/banner.png -- 438.38kb -> 401.05kb (8.52%)
/assets/monofileLogo.svg -- 0.89kb -> 0.83kb (7.53%)
/assets/icons/icon.svg -- 0.89kb -> 0.83kb (7.53%)
/assets/icons/file.svg -- 0.26kb -> 0.25kb (2.25%)
/assets/icons/more.svg -- 0.23kb -> 0.22kb (1.29%)
/assets/icons/admin/delete_file.svg -- 0.50kb -> 0.49kb (1.18%)
/assets/icons/link.svg -- 0.59kb -> 0.59kb (0.99%)
/assets/icons/public.svg -- 0.30kb -> 0.30kb (0.98%)
/assets/icons/logout_all.svg -- 0.30kb -> 0.30kb (0.96%)
/assets/icons/tag.svg -- 0.35kb -> 0.35kb (0.84%)
/assets/icons/person.svg -- 0.36kb -> 0.36kb (0.81%)
/assets/icons/mail.svg -- 0.37kb -> 0.37kb (0.8%)
/assets/icons/delete.svg -- 0.40kb -> 0.40kb (0.73%)
/assets/icons/update.svg -- 0.46kb -> 0.46kb (0.63%)
/assets/icons/logout.svg -- 0.48kb -> 0.48kb (0.61%)
/assets/icons/change_username.svg -- 0.48kb -> 0.48kb (0.6%)
/assets/icons/pound.svg -- 0.52kb -> 0.51kb (0.57%)
/assets/icons/change_password.svg -- 0.52kb -> 0.51kb (0.57%)
/assets/icons/admin/elevate_user.svg -- 0.53kb -> 0.52kb (0.56%)
/assets/icons/paint.svg -- 0.54kb -> 0.54kb (0.54%)
/assets/icons/refresh.svg -- 0.56kb -> 0.56kb (0.52%)
/assets/icons/multiselect.svg -- 0.56kb -> 0.56kb (0.52%)
/assets/icons/private.svg -- 0.58kb -> 0.58kb (0.51%)
/assets/icons/image.svg -- 0.58kb -> 0.58kb (0.5%)
/assets/icons/change_email.svg -- 0.58kb -> 0.58kb (0.5%)
/assets/icons/tag_remove.svg -- 0.61kb -> 0.61kb (0.48%)
/assets/icons/disconnect_email.svg -- 0.67kb -> 0.67kb (0.44%)
/assets/icons/admin/change_file_id.svg -- 0.70kb -> 0.70kb (0.42%)
/assets/icons/anonymous.svg -- 0.75kb -> 0.75kb (0.39%)
/assets/icons/delete_account.svg -- 0.77kb -> 0.77kb (0.38%)
/assets/icons/small_image.svg -- 1.01kb -> 1.01kb (0.29%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-10-16 06:58:46 +00:00
.vscode notifs: use npm run build, probably fine? 2023-10-14 19:48:39 +00:00
assets [ImgBot] Optimize images 2023-10-16 06:58:46 +00:00
pages woops 2023-10-15 16:41:59 -07:00
src woops 2023-10-14 15:53:06 -07:00
.gitignore Experimental, and very bad & likely broken email 2023-07-18 19:37:10 -07:00
config.json remove the stupid webdrop thing 2023-10-08 20:20:27 -07:00
LICENSE this code SUUUUCKs but i dont CARE 2023-02-26 10:47:03 -08:00
package-lock.json notifs: use npm run build, probably fine? 2023-10-14 19:48:39 +00:00
package.json notifs: use npm run build, probably fine? 2023-10-14 19:48:39 +00:00
README.md Update README.md 2023-10-14 21:36:07 -07:00
rollup.config.mjs @Jack5079's suggestions (hopefully these work lol) 2023-08-12 09:53:53 +00:00
tsconfig.json this code SUUUUCKs but i dont CARE 2023-02-26 10:47:03 -08:00

monofile: 'File sharing over Discord', topped with the monofile logo. Blue gradient with an image of monofile 1.4.0-dev on the side.

The open-source, Discord-based file sharing service.
Flagship instanceLive test instance


Setup

First, install monofile's prerequisites...

npm i

Then, add your bot token...

echo "TOKEN=INSERT-TOKEN.HERE" > .env

and, in addition, SMTP authentication...

echo "\nMAIL_USER=user@example.com" > .env
echo "\nMAIL_PASS=password here" > .env

Invite your bot to a server, and create a new config.json in the project root:

// config.json
{
    "maxDiscordFiles": 20,
    "maxDiscordFileSize": 26214400,
    "targetGuild": "1024080490677936248",
    "targetChannel": "1024080525993971913",
    "requestTimeout":120000,
    "maxUploadIdLength":30,

    "accounts": {
        "registrationEnabled": true,
        "requiredForUpload": false
    },

    "webdrop": {
        "accountRequired": false
    },

    "mail": { // nodemailer transport options
        "host": "smtp.fastmail.com", // or your mail provider of choice
        "port": 465,
        "secure": true,
        "auth": {
            "user": "REPLACE-WITH-YOUR-ALIAS@YOURDOMAIN.COM",
            "pass": "REPLACE-WITH-YOUR-GENERATED-PASSWORD"
        }
    }
}

Then, compile:

tsc && sass src/style:out/style && rollup -c

and start.

npm start

monofile should now be running on either env.MONOFILE_PORT or port 3000.

Disclaimer

Although we believe monofile is not against Discord's developer terms of service, Etcetera is not liable if Discord takes action against you for running an instance.

License

Code written by Etcetera is currently licensed under Unlicense.

Icons under /assets/icons were created by Microsoft, and as such are licensed under different terms (MIT).