Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature: pastebin #329
This PR implements a pastebin internally to Convos. It is implemented in the backend, meaning that a given connection class can detect a long message and dispatch it to the "paste-service". This is done automatically, without asking the user.
The nice thing is that it's implemented as a plugin, so if someone wants to make a "gist" backend, then it shouldn't be too hard.
This is how you enter a paste:
This is how it looks to a Convos user: (The paste is embedded using LinkEmbedder.pm)
This is how it looks if you open the link in a browser: (The link is available from the public)
Note also that the paste support syntax highlighting, using https://highlightjs.org/