Terminal Links

Arnav Bansal

Terminals make it hard to copy things: Selecting text works differently to what people are used to, and ^C aborts the current program. Links are hard to use.

Now you can click on links in the repl.it terminal.

An example of links in terminal being clickable
An example of links in terminal being clickable

It's as simple as starting a repl and printing a URL to the terminal.

This is super helpful with languages like Rust, which often print URLs in error messages to help you debug and learn.

The Rust compiler often prints errors with links to relevant docs
The Rust compiler often prints errors with links to relevant docs

This also works on repl.run, where you can publish terminal apps as websites. As an example, here's the repl.it blog available on repl.run as a terminal website, written in python:

Now your terminal apps can link to anything on the web!

More blog posts