An unbloated media host specialized in great looking embeds for services like Discord
Find a file
2022-11-24 01:02:23 -05:00
.github/workflows Update docker-publish.yml 2022-11-24 01:02:23 -05:00
cypress fix test 2022-11-22 23:53:11 -05:00
public Line endings fix 2022-11-20 18:33:25 -05:00
routes housekeeping 2022-11-22 22:04:24 -05:00
views lazy loading 2022-11-24 00:39:44 -05:00
.dockerignore Line endings fix 2022-11-20 18:33:25 -05:00
.eslintrc.json Line endings fix 2022-11-20 18:33:25 -05:00
.gitattributes add gitattributes 2022-11-21 04:01:50 -05:00
.gitignore fix line endings 2022-11-21 04:05:28 -05:00
app.js housekeeping 2022-11-22 22:04:24 -05:00
cypress.config.js housekeeping 2022-11-22 22:04:24 -05:00
db.js make empty uploads folder 2022-11-21 14:26:05 -05:00
docker-entrypoint.sh fix never expire 2022-11-20 19:08:36 -05:00
Dockerfile Line endings fix 2022-11-20 18:33:25 -05:00
LICENSE Line endings fix 2022-11-20 18:33:25 -05:00
package-lock.json Cypress unit testing 2022-11-21 14:16:56 -05:00
package.json housekeeping 2022-11-22 22:04:24 -05:00
README.md Line endings fix 2022-11-20 18:33:25 -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