Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

IMPR: Embeds and a crappy file viewer. #249

Open
wants to merge 32 commits into
base: dev/0.15.0
Choose a base branch
from

Conversation

XWasHere
Copy link

@XWasHere XWasHere commented Dec 5, 2023

Checklist

  • I have read the Contributing Guidelines
  • I acknowledge that any submitted code will be licensed under the ISC License
  • I confirm that submitted code is my own work
  • I have tested the code, and confirm that it works

Enviroment

  • Operating System: artix linux (Linux 6.5.5-arch1-1-custom x86_64 | openrc)
  • Node version: v21.2.0
  • npm version: 10.2.4
  • pnpm version: 8.10.5

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 tycrek added the merge conflict Automatically applied to PR's with merge conflicts label Dec 22, 2023
@tycrek
Copy link
Owner

tycrek commented Dec 22, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
merge conflict Automatically applied to PR's with merge conflicts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants