Replit

Replit, formerly Repl.it, is an American start-up and an online integrated development environment (IDE). Replit allows users to create online programming projects called repls.

History
Replit was co-founded by programmers Amjad Masad, Faris Masad, and designer Haya Odeh in 2016. It was incorporated in San Mateo. Once listed as a co-founder alongside Masad, Max Shawabkeh left the venture early on. Its name comes from the acronym REPL, which stands for "read–evaluate–print loop".

Before creating Replit, Amjad Masad worked in engineering roles at Yahoo and Facebook, where he built development tools. He also helped found Codecademy. Masad had come up with the idea for Replit over a decade before its creation.

In 2009, Amjad Masad sought to write implementations of other programming languages in JavaScript, but realized it was not practically feasible. He saw great leaps in browser and web technologies and was inspired by the web capabilities of Google Docs. He thought of the idea of being able to write and share code all in a web browser. He spent two years creating an open-source product with Haya Odeh called "JSRepl". This product allowed him to compile languages into JavaScript. It powered Udacity and Codecademy's tutorials. After becoming an early employee of Codecademy, this project was put off until years later, when he and Odeh decided to revive the project of a programming environment in a browser.

As Replit was taking shape, Masad and Odeh wanted to have "a real environment and not something emulated in the browser." The focus was first directed at the education market, and then later towards professional developers.

Since March 2021, "replit.com" has been the default domain name for the web service replacing the older "repl.it". This change was attributed to Masad's preference that people pronounce the website's name as instead of. Another reason cited by Masad was issues with the ".it" top-level domain, such as renewal restrictions.

Replit originally was only a REPL. However, the Ace editor was eventually implemented, allowing for editing of programs as well. In 2017, Replit switched to the Monaco code editor, the same editor used in Visual Studio Code. Due to issues with mobile support, the code editor was switched to CodeMirror over 2021 - 2022. This decision was met with backlash and criticism from the Replit community, which eventually calmed down after bugs and major issues were addressed.

Replit offered Teams for Education, a product to assist in teaching programming in the classroom. It was announced that from November 15th 2023, bug fixes and features would no longer be added to teams for education.

In 2024 it was announced that Replit would be moving from its SoMa headquarters in San Francisco to a new location in Foster City.

Features
Replit is an online integrated development environment (IDE) that can be used with a variety of programming languages.

Replit originally supported over 50 programming language but as of February 23, 2022, Replit uses the Nix package manager which allows users access to the entire Nixpkgs package database. New Repls can be created through official language templates or through a user's custom Nix configuration. Users can configure anything from the Language Server Protocol to debugger support for a Repl.

It uses the CodeMirror 6 editor component, the same editor component employed by other major websites such as CodePen.

Replit supports collaborative coding with the ability for multiple users to edit a shared repl, real-time edits across files, and instant messaging. Using a shared compute engine, code can be run and displayed the same to multiple users in a Repl.

Repl environments have built-in source control via Git on all Repls and users can switch branches, push files, and revert code. Replit allows for the pulling of code from a GitHub repository and linking Repls to GitHub repositories. Some Repls also have debugger and unit testing support. Replit uses the Debugger Adapter Protocol to provide debugging services in Java, Python, Node.js, and C++ for all users connected to a Repl. Replit has zero-setup unit testing in several languages. Repls also have secrets management, allowing users to hide values from others who see the Repl publicly. Repls also have databases with key-value data supported in Python, Node.js, and Go. Databases still can be accessed in other languages by using system calls.

Users could also import projects from Glitch, which provides a similar service to Replit, though it is unknown if this feature is still officially supported; as of July 2022 it is functional.

In October 2023, Replit made new features powered by machine learning available to all users. These features include suggestions for code completion and chat software development. The announcement of Replit AI's public release states, "Replit will become a synonym of AI for software creators -- only then we will have accomplished our mission." Replit's FAQ states the algorithms were trained on public code. All public code hosted on Replit is subject to the MIT license and may be used to train machine learning models. User settings are available to disable suggestions from machine learning. In order to prevent code from being used to train Replit algorithms, users must make their Repl private.