Announcing off-platform “Share to DEV” functionality

I’m excited to share a pretty cool new feature with you!
We have shipped the functionality that allows anyone to create “Share to DEV" buttons with pre-filled DEV posts., a browser-based coding platform, has already implemented this in a really slick way! It’s already live.
Here it is in action:

DEV users have been able to embed instances for a while using a liquid tag: {% replit @benhalpern/HelplessAdvancedKillerwhale %}, but that functionality is now more seamless than ever.
That tag will result in this interactive repl:

(Apologies for the contrived example 😄) users can take what they’ve been working on, and generate a pre-filled DEV post in a snap. This makes it incredibly seamless for folks in the community to share with DEV and the broader software community. itself is a fascinating tool and this integration make collaboration and community easier and more powerful than ever.
We are also in touch with a few other platforms that are working on integrating the functionality.

The coolest part (IMO) is how extensible it is

It works in a similar fashion to the “Share to Twitter” links you see around the web. It’s a simple URL which accepts parameters readable as a GET request — for example, here’s the Twitter button for a DEV post:
Our endpoint, however, accepts arbitrary markdown. So as long as it is typed in properly, you can "pre-fill" anything. For example, here’s the DEV prefill for this post:—%0Atitle%3A%20Wow,%20Share%20to%20DEV%20is%20really%20cool!%0Apublished%3A%20true%0Atags%3Ameta%0A—%0A%0ANice%20stuff%20DEV%20Team!%0A%0A%7B%25%20link%20devteam%2Fannouncing-off-platform-share-to-dev-functionality-57j9%20%25%7D
This URL could be made easily available as a button:
Share this post
FYI: The URL must escape characters including linebreaks (\n).
Click that link and you’ll be taken to a page with some pre-filled content. Any client can serve different versions of pre-fills.
Going forward, I’d like to use this API to build internal features for easily "quoting" comments, etc. on the site.
We could also build browser extensions for adding "Share to DEV" to Twitter, and perhaps GitHub, as we already have rich embeds enabled from each of those platforms. (That is assuming they don’t build the functionality natively like and others are doing 😄)
We actually already have a Twitter browser extension that still works, but we have not touched in years. PRs welcome.

thepracticaldev / DevTwitter

Bringing headlines to your Twitter browsing experience.

DevTwitter Chrome Extension
Bringing headlines to your Twitter browsing experience.

Go to The Chrome Store to download the extension.
To access development releases, simply download or clone this code and load as an unpacked extension.

Unpacked Extension

If you downloaded the code, unzip the file.
Open (chrome://extensions/) or select hamburger menu > More Tools > Extensions in the menu.
Enable the developer mode at top right.
Click Load unpacked extension… and select the chrome-extension folder.


Display links on the sidebar of the Twitter desktop browser under other trends, bringing a bit more dev life into your Twitter browsing experience. Simple, eh?

Future features
Twitter is a great way to connect and collaborate with other developers, and it would be fun to build in features that did that. The team will be thinking of ways to do this, but contributions are super welcome.
It is important…

View on GitHub

The bottom line is that this functionality builds awesomely on top of the markdown/liquid tag groundwork we’ve laid, and should make interacting online as a software developer that much more fluid.
If you would like to implement "Share to DEV" functionality on your platform, be our guests. Depending on your use case, you may need to add a relevant liquid tag to our codebase. Feel free to open an issue or pull request related to any additional functionality you may need.

thepracticaldev /

Where programmers share ideas and help each other grow

DEV Community 👩‍💻👨‍💻

The Human Layer of the Stack

Welcome to the codebase. We are so excited to have you. With your help, we can build out DEV to be more stable and better serve our community.

What is (or just DEV) is a platform where software developers write articles, take part in discussions, and build their professional profiles. We value supportive and constructive dialogue in the pursuit of great code and career growth for all members. The ecosystem spans from beginner to advanced developers, and all are welcome to find their place within our community. ❤️

Table of Contents



The stack

Engineering standards

Style guide
Husky hooks

Getting Started

Standard Installation
Docker Installation (BETA)
Starting the application
Suggested Workflow

Additional docs
Core Team Members

We encourage you to contribute to! Please check out the Contributing to guide for…

View on GitHub

Happy coding!