An unbloated media host specialized in great looking embeds for services like Discord
Find a file
2022-11-20 17:45:41 -05:00
bin remove unneeded packages, fix non-media file copy 2022-11-17 05:29:16 -05:00
public Move middlewear to seperate file, Files can expire 2022-11-19 07:53:47 -05:00
routes Code Cleanup 2022-11-19 19:07:28 -05:00
views Code Cleanup 2022-11-19 19:07:28 -05:00
.dockerignore add dockerignore 2022-11-13 05:12:08 -05:00
.eslintrc.json Move middlewear to seperate file, Files can expire 2022-11-19 07:53:47 -05:00
.gitignore init 2022-11-13 03:08:17 -05:00
app.js rework error 2022-11-20 17:45:41 -05:00
db.js Move middlewear to seperate file, Files can expire 2022-11-19 07:53:47 -05:00
docker-entrypoint.sh Dockerfile fix 2022-11-16 11:48:27 +00:00
Dockerfile Dockerfile fix 2022-11-16 11:48:27 +00:00
LICENSE init 2022-11-13 03:08:17 -05:00
middleware.js Code Cleanup 2022-11-19 19:07:28 -05:00
package-lock.json Code Cleanup 2022-11-19 19:07:28 -05:00
package.json Code Cleanup 2022-11-19 19:07:28 -05:00
README.md Code Cleanup 2022-11-19 19:07:28 -05:00
readmegif.gif update gif 2022-11-15 18:17:40 -05:00

Embedder

A media host specialized in good looking embeds for services like Discord. No file size limits. No compression.

Upcoming Features:

  • Guest user accounts

Run

Source:

EBPASS=changeme
EBPORT=4000
EBAPI_KEY=changeme #ShareX support

$ npm install
$ node db.js
$ npm start

Default username is admin with the password being whatever EBPASS is

ShareX support is enabled at "/upload", requires auth with key, expire key is in days JSON

{
    "Version": "14.1.0",
    "Name": "embedder",
    "DestinationType": "ImageUploader, FileUploader",
    "RequestMethod": "POST",
    "RequestURL": "http://localhost:3000/sharex",
    "Headers": {
      "key": "changeme"
    },
    "Body": "MultipartFormData",
    "Arguments": {
      "fileupload": null,
      "expire": null
    },
    "FileFormName": "fileupload",
    "URL": null,
    "ThumbnailURL": null,
    "DeletionURL": null,
    "ErrorMessage": null
}

Docker config

docker run -d -p "4000:4000" -e EBPORT=4000 -e EBPASS=changeme -e EBAPI_KEY=changeme waveringana/embedder:latest

Docker Compose

version: '3.3'
services:
    embedder:
        ports:
            - '4000:4000'
        environment:
            - EBPORT=4000
            - EBPASS=changeme
            - EBAPI_KEY=changeme
        volumes:
            - embedderdb:/var/db
            - embedderuploads:/uploads
        image: waveringana/embedder:latest
        network_mode: bridge
volumes:
    embedderdb:
    embedderuploads:

License

The Unlicense