April 2021 Summaries
11 posts from Replit
Filter
Month:
Year:
Post Summaries
Back to Blog
The text provides an overview of the evolution of Replit's hosting infrastructure from a single load balancer setup to a multi-cluster architecture. Initially, Replit used a straightforward system with multiple proxy service instances behind a load balancer, which became complex as the system expanded. To address this, they transitioned to a cluster-based system where each cluster has its own database and proxy instances, allowing for efficient routing of HTTP requests to the appropriate clusters. A key innovation was the development of an authoritative DNS name server that directs traffic to the correct cluster without additional hops, enhancing the system's efficiency. This DNS server not only manages domain requests but also handles DNS-01 challenges for TLS certificate generation. To ensure seamless migration of repls between clusters, Replit implemented "tombstones" to redirect requests from outdated clusters to the correct ones. Additionally, the infrastructure supports custom domains by linking them through CNAME records, ensuring they point to the appropriate cluster. The new setup allows for different configurations per cluster, such as allocating more resources for specific user groups, making the system robust and flexible for future scalability.
Apr 28, 2021
1,001 words in the original blog post.
Replit aims to enhance programming accessibility by offering free cloud compute for app development across devices, but faced challenges with slow React tooling due to the complexity of popular JavaScript tools like Create React App and Webpack. The JavaScript community's response to these inefficiencies has led to the adoption of Vite, a faster and more efficient build tool that improves the development experience. Vite's features, such as Hot Module Replacement and pre-bundling with esbuild, enable rapid UI prototyping and efficient handling of dependencies, resulting in significantly faster performance compared to previous tools. This has allowed Replit's new React template to aid designers and engineers in quickly developing complex UI components and full web apps. Vite's framework-agnostic nature also supports development beyond React, with options for Vue and Vanilla JS templates, empowering users to execute their ideas swiftly.
Apr 27, 2021
508 words in the original blog post.
The company behind Replit is working on a new collaborative debugging experience that aims to make program comprehension easier and less stressful for programmers. The new feature will allow users to "time-travel" through their code, seeing different versions of the program at various points in time. This will enable them to understand how the code works and why it behaves in certain ways, without having to manually instrument the code or restart the program. The goal is to integrate this feature seamlessly with Replit's collaborative code editing capabilities, allowing multiple users to work together on debugging a project simultaneously. To help users get started, the company will provide an onboarding experience and tutorials highlighting common use cases and best practices for using the new tool effectively.
Apr 23, 2021
651 words in the original blog post.
Replit has introduced support for draw files, which are multiplayer whiteboards that allow users to sketch shapes, add text, and collaborate on diagrams with others in real-time. The new feature is powered by the open-source excalidraw project and can be imported into Replit with a simple file upload. Users can create and share .draw files, which will become a canvas for their ideas, and will enable new ways of communication, collaboration, and problem-solving within the platform.
Apr 22, 2021
281 words in the original blog post.
The Replit team has announced a new feature to manage secrets in their platform, aimed at improving security and usability for users building applications such as chatbots, web applications, and games. The new feature is designed to be easy to use for learners and productive for advanced users, with a simple GUI that allows adding multiline secret values and hiding sensitive information by default. The primary purpose of the feature is to hide secrets, but it also has potential uses in configuring different environments for repls and unlocking features such as retaining key s when someone forks a repl with secrets. Users can find more information about the new feature in the Replit documentation.
Apr 18, 2021
745 words in the original blog post.
Blubbr is a trading bot created by Søren, Justin, and Steven, initially aiming to capitalize on the trend of SPACs (Special Purpose Acquisition Companies) and their impact on stock prices shortly after releasing specific forms on the SEC website. With the help of Replit, they were able to build and deploy Blubbr in just four days, significantly reducing the development time. The platform's flexibility and adaptability allowed them to quickly iterate and improve their strategy, which led to rapid growth, including nearly 4,000 Discord members and $1,000 monthly revenue from a notification bot. As Søren joins Replit Ventures, he aims to help other startups go to market, leveraging the platform's mission to make programming more accessible and support innovative products.
Apr 12, 2021
755 words in the original blog post.
Replit Ventures is an experimental startup incubator focused on making programming more accessible, providing a full-service platform for emerging startups and ideas to reach market. The program offers a grant of $2,000 in Bitcoin, mentorship, networking opportunities, and exposure through Replit's newsletter with hundreds of thousands of readers. Applications are open to individuals from all backgrounds, including teenagers, and the first cohort will start on April 26, 2021, running for four weeks with potential extension based on progress made during the program.
Apr 12, 2021
556 words in the original blog post.
Our Hacker plan has always been a great choice if you need more powerful repls. In addition to benefits like private repls, more storage, and always on, the Hacker plan gives all of your repls 4x the CPU and RAM compared to those in our free plan. However, sometimes even 4x is not enough for resource-intensive projects. To address this, Replit introduces Boosts, a new feature that allows users to make their repls even faster by doubling the resources of standard Hacker repls. As part of the Hacker plan, users now get 5 free boosts, which can be purchased on a free plan using Cycles. Users can add boosts to their free plan account with Cycles and eventually choose from machines with arbitrarily high resource limits.
Apr 11, 2021
255 words in the original blog post.
We have announced the availability of system-wide audio integration in Repl, an interactive coding environment, as part of our commitment to making programming more accessible and fun. To opt-in, users create a secret with value 1 and restart their repl by running a shell command, enabling a checkbox for headphones in the lower right corner of the VNC output window. The system audio integration uses PulseAudio and an RFB protocol extension to deliver compressed audio alongside Remote Framebuffer, reducing bandwidth consumption and maintenance overhead. A new Rust-based proxy, rfbproxy, connects to both XtigerVNC and PulseAudio, transcodes audio into an Opus stream in a WebM container, and delivers a unified RFB stream to the NoVNC client. However, users may experience known limitations such as latency and issues with Safari playback due to browser security models and OS resource constraints.
Apr 08, 2021
706 words in the original blog post.
Starting today, all VNC connections are automatically protected by a token that secures the connection to the repl. This protection is completely transparent and requires no additional action from users. Users can also access their repls with the stock noVNC client using a custom username and password, which should be generated using a password manager to make them harder to guess. The first 8 characters of the password will be considered when accessing the repl via VNC connections. When launching the noVNC client from the website, the password will be transparently filled in for users.
Apr 07, 2021
183 words in the original blog post.
Kaboom is an effort to make game development more accessible and fun for programmers of all levels by introducing a flexible component system that allows developers to create game objects with various behaviors. The library provides primitives to describe behaviors, such as actions that can be applied to objects, tags that define certain types of objects, and input handlers for handling user interactions. Kaboom also includes helpers for building specific features, like level creation, and an integrated environment on Replit that allows developers to edit, manage, and run their code in a single place, complete with debug tools such as bounding box drawing, hovering inspection, time scaling, and pause functionality.
Apr 05, 2021
900 words in the original blog post.