New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: pastebin #329

merged 3 commits into from Apr 13, 2017


None yet
2 participants

jhthorsen commented Apr 3, 2017

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:

screen shot 2017-04-04 at 09 19 33

This is how it looks to a Convos user: (The paste is embedded using


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


@jhthorsen jhthorsen self-assigned this Apr 3, 2017

@jhthorsen jhthorsen requested a review from marcusramberg Apr 4, 2017

I don't understand why it's not resolved after I pushed the new changes.

@jhthorsen jhthorsen merged commit 8d5be29 into master Apr 13, 2017

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
continuous-integration/travis-ci/push The Travis CI build passed

@jhthorsen jhthorsen deleted the feature/pastebin branch Apr 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment