tycrek / ass

The simple self-hosted ShareX server
ISC License
655 stars 53 forks source link

IMPR: Embeds and a crappy file viewer. #249

Open XWasHere opened 10 months ago

XWasHere commented 10 months ago

Checklist

Enviroment

Description

adds opengraph embeds, template strings and a simple placeholder file viewer

templates are in the format of {{NAME|ARG|NAMEDARG=ARGVALUE}} so you can do something like A Sharex Server - {{FormatBytes|{{FileSize}}}} file uploaded by {{Uploader}}

template functions can be added in TemplateExecutor.prototype.createExecutor(). embeds can be configured using the embed object in the user config file.

tycrek commented 10 months ago

[AUTOMATED MESSAGE] 🔴 This Pull Request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.