An unbloated media host specialized in great looking embeds for services like Discord
Find a file
2023-09-29 12:33:04 -04:00
.github/workflows remove unit testing TODO replace 2023-08-17 05:40:26 -04:00
app Revert "start work migrating to bun" 2023-09-29 12:33:04 -04:00
docker fix ci 2022-12-04 00:18:54 +00:00
documentation Update database.md 2023-08-25 20:07:52 -04:00
.eslintrc.js linting 2022-12-13 17:41:31 +00:00
.gitattributes add gitattributes 2022-11-21 04:01:50 -05:00
.gitignore typescripting 2022-12-03 21:03:34 +00:00
LICENSE Line endings fix 2022-11-20 18:33:25 -05:00
package-lock.json start some documentation work 2023-08-25 20:03:30 -04:00
package.json Revert "start work migrating to bun" 2023-09-29 12:33:04 -04:00
README.md start some documentation work 2023-08-25 20:03:30 -04:00
tsconfig.json Revert "start work migrating to bun" 2023-09-29 12:33:04 -04:00

Embedder 🖼️

A media host specialized in producing visually appealing embeds for services like Discord. Enjoy limitless file sizes and no compression.

Embedder Demo

🚀 Upcoming Features

  • 📊 MariaDB/SQL support (currently uses SQLite)
  • 🔗 Redundancy & Sync: Enhance reliability and enable synchronization across nodes.

🌐 Potential Features

  • 🛰️ IPFS Integration

🔧 How to Run

Using Source

$ export EBPASS=changeme
$ export EBPORT=3000
$ export EBAPI_KEY=changeme # For ShareX support

$ npm install
$ npm start

Note: Default username is admin with the password being whatever EBPASS is set to.

ShareX Support

Enabled at /upload. Requires authentication with key. expire key specifies duration in days.

{
    "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
}

Using Docker

docker run -d -p "3000:3000" -e EBPORT=3000 -e EBPASS=changeme -e EBAPI_KEY=changeme ghcr.io/waveringana/embedder:1.7.2

Docker Compose

version: '3.3'
services:
    embedder:
        ports:
            - '3000:3000'
        environment:
            - EBPORT=3000
            - EBPASS=changeme
            - EBAPI_KEY=changeme
        volumes:
            - ./db:/var/db
            - ./uploads:/uploads
        image: ghcr.io/waveringana/embedder:1.9.1

📜 License

Distributed under The Unlicense.