Replit Blog
Sep 11, 2023Deploy Bun Apps that Autoscale on Replit
Using Replit Autoscale Deployments, developers can launch Bun apps that automatically scale from zero to meet customer demand, combining the speed of Bun and the power of Replit infrastructure. Build, iterate, deploy, and scale directly within Replit in seconds. Here’s how you can create and deploy a Bun App to Replit Autoscale Deployments in less than a minute:
Sep 7, 2023HeyDATA.org Profile: Personalized AI Built with Replit Deployments
Steve Moraco leveraged Replit to build DATA, an AI service that replaces Siri with ChatGPT. In just a few months, Steve has scaled his AI business on Replit, growing rapidly to $18k MRR, 800 paid subscribers, and 100k+ impressions, with his site and project running on Replit Deployments. "I don't think I would ever be able to complete a project like this without Replit. I started not knowing anything about web development, (or even GitHub for that matter), and I've sort of just learned one skill at a time. I’ve gone from knowing almost nothing about technical development, to building a business and earning money" - Steve Moraco What is DATA?
Sep 5, 2023Announcing Autoscale and Static Deployments
Today, we are announcing our biggest release yet. Scalable hosting infrastructure directly from the editor. This release transforms Replit into an end-to-end platform to go from idea to production for your next project or startup. Two new products are immediately available to all Hacker and Pro subscribers: Autoscale Deployments - Infrastructure that scales up when your app goes viral and scales down when your app goes unused. Only pay for the resources you use. Static Deployments - Free option to host client-side sites like blogs and websites. Best of all, it's directly from the editor. Deploy to scalable infrastructure directly from the place you build. No additional vendors. Just Replit.
Sep 5, 2023Speeding up Deployments with Lazy Image Streaming
Replit Deployments is our new offering that allows you to quickly go from idea, to code, to production. To make the experience as seamless as possible, we built tooling to convert a Repl into a container imager which can be deployed to either a Google Cloud Virtual Machine or to Cloud Run. Early on, we started to hit some issues with large images taking too long to deploy to a virtual machine. It could take minutes to pull and unpack the container image before it could be started. There’s two angles of attack: reduce the image size or speed up the pulling of images. It's preferable to shrink the container image size; however, that is not always possible. In this post we’ll go into some of the technologies and approaches used to speed up image pulling/booting. What is a container image? First, we’ll need to establish some baseline knowledge around container images. If you already know the details, you can skip this section. At a high level, a container image provides both a root filesystem and configuration for running a containerized workload. Inside the container, the filesystem is mounted to the root directory /. The root filesystem is stored as a list of multiple compressed tarballs, called layers, which are overlaid on top of each other. That is, if two layers have the same file, layers later in the list have higher precedence and their files replace the files from lower layers.
Aug 29, 2023Showcasing Startups on Replit
The fastest way to start, ship, and share This past year, our team has been hard at work releasing some of our most advanced infrastructure improvements including dedicated hosting and increased storage capacity. A second-order effect of a more powerful Replit is the rapid growth of businesses being built on the platform. The Replit platform isn't just a sandbox; it's a launchpad. There’s a lot to learn from startups building on Replit. The success stories emerging from our ecosystem serve as case studies for developers. Their architectural decisions, scaling strategies, and innovative solutions can provide insights for others looking to tread a similar path. Here are some of the newest startups deployed on Replit:
Aug 15, 2023New Workspace Features to Keep Your API Keys Safe
As the community using Replit continues to grow, we want to help all users follow best practices and store API keys and secrets securely, rather than directly in code. Our Secrets feature, available in every Repl, allows you to store API keys securely where other users running or forking your Repl can’t access them. Now, we’re introducing new Workspace features to proactively help you protect your API keys and secrets. When Replit detects that you’re attempting to paste a likely secret value, like an API key or token, into a file, our Secret Scanner will warn you and give you the option to store that value as a Secret instead. The scanner runs behind the scenes and is completely client-side. You won’t know it’s there unless a potential secret value is encountered. How it works The Secret Scanner uses a list of known API key patterns and regexes to identify a likely secret value and warn you. Within the Secrets feature, data is encrypted with AES-256 at rest, and encryption keys are stored in a secure location that is protected by multiple layers of security. To help protect against key compromise, encryption keys are rotated regularly. Only you and your invited collaborators can see Secret values in a Repl.
Jul 13, 2023State of AI Development: 34x growth in AI projects, OpenAI's dominance, the rise of open-source, and more
With the introduction of Large Language Models (LLMs), for the first time, Machine Learning (ML) and Artificial Intelligence (AI) became accessible to everyday developers. Apps that feel magical, even software that was practically impossible to build by big technology companies with billions in R&D spend, suddenly became not only possibly, but a joy to build and share. The surge in building with AI started in 2021, grew rapidly in 2022, and exploded in the first half of 2023. The speed of development has increased with more LLM providers (e.g., Google, OpenAI, Cohere, Anthropic) and developer tools (e.g., ChromaDB, LangChain). In parallel, natural language interfaces to generate code have made building accessible to more people than ever. Throughout this boom Replit has grown to become the central platform for AI development. Tools like ChatGPT can generate code, but creators still need infrastructure to run it. On Replit, you can create a development environment (Repl) in seconds in any language or framework which comes with an active Linux container on Google Cloud, an editor complete with the necessary tools to start building, including a customizable Workspace, extensions, and Ghostwriter: an AI pair programmer that has project context and can actively help developers debug. Deployments allowed developers to ship their apps in secure and scalable cloud environments. Given our central role in the AI wave, we wanted to share some stats with the community on the state of AI development. Building with AI Since Q4 of 2022, we have seen an explosion in AI projects. At the end of Q2 ‘23, there were almost 300,000 distinct projects that were AI related. By contrast, a search of GitHub shows only ~33k OpenAI repositories over the same time period.
Jun 29, 2023Empowering Educators with MagicSchool and Replit Deployments
Replit is where builders come to bring their software and app ideas to life, fast. We’re showcasing builders and the software they created and deployed on Replit. If you interested in being showcased, click the button below.
- Jun 24, 2023
Internship Experience At Replit
Hey! I'm Nathan. It's been a short but exciting few months at Replit, and I wanted to share my experience with you all. The Journey Begins I started programming back in 2018. Since then, I’ve met fantastic people, learned new stuff, and made a lot of wacky projects. What I did not expect was a technical recruiter to reach out to me through Twitter.
- Jun 9, 2023
Keeping Your API Keys Safe
Replit gives you the power to both build your own applications and to leverage powerful third party services through their APIs. By integrating third party services into their Repls, Replit users have unlocked a diverse range of capabilities such as speech to text, video livestreaming, embedding data into AI applications, and even tracking Amtrak trains. Integrating a third-party service into your Repl usually involves acquiring an API key or token from the third party that uniquely identifies you and your app. It’s important to keep this API key secret because if it is leaked and used by someone else, they could misuse it while impersonating you. You could find yourself losing your API access, or even incurring unauthorized charges. We saw this need and developed tooling around it for you. Replit makes it easy for you to protect your API keys, by using Secrets. When you add your API key as a Secret, you make sure that it won’t be visible to others who view your Repl’s code, and won’t be included if anyone else forks your Repl. With the recent explosion of interest in AI, there has been a corresponding rise in the theft of OpenAI API keys in particular. Replit is doing its part to make sure that our users don’t become victims of this crime. We have been a partner of OpenAI’s since 2021 and care deeply about AI development and security.
Jun 6, 2023Revolutionizing Language Learning with Replit Deployments
Replit is where builders come to bring their software and app ideas to life, fast. We’re showcasing builders and the software they created and deployed on Replit.
Jun 5, 2023Replit AI Manifesto
Amjad Masad, CEO: I'm excited to welcome Michele Catasta to the Replit team as our VP of AI. Michele joins us from Google, where he was Head of Applied Research at Google Labs and, before that, Google X, where he researched Large Language Models applied to code. Michele has a Ph.D. in Computer Science and was Research Scientist and Instructor in AI at Stanford University. This manifesto is a culmination of a conversation Michele and I have had for over a year on the future of AI and its impact on the software industry: “People who are really serious about software should make their own hardware.” [1982] More than 40 years later, Alan Kay’s quote still sounds as relevant as it gets – no wonder he is recognized as one of the most influential pioneers of our industry. As a matter of fact, over the past few decades software and hardware worked in conjunction to dramatically augment human intelligence. Steve Jobs celebrated Alan’s quote in his famous 2007 keynote, right after launching the very first iPhone – possibly one of Steve’s mottos, considering how Apple built its reputation and massive success story on unprecedented software/hardware integration. At Replit, our mission is to empower the next billion software creators. Our users build software collaboratively with the power of AI, on any device, without spending a second on setup. We accomplished that by creating from the ground up a delightful developer experience. The Replit development environment allows our users to focus solely on writing software, while most of the hardware (and Cloud computing) complexities are carefully hidden away.
May 31, 2023Replit Builders Series - NodePad: From Idea to MVP with Replit Deployments
Replit is where builders come to bring their software and app ideas to life, fast. We’re showcasing builders and software they created and deployed on Replit. NodePad is a platform for idea exploration driven by AI. NodePad founder Saleh Kayyali went from designer to consumer app founder. The app he built and deployed end to end on Replit has thousands of users and slick UI. It shot to #5 on HackerNews, and yet he’s never been paid to develop software before. How?
- May 19, 2023
May 18 Replit downtime
Yesterday, we had a period of about 2h from 11:45 to 13:56 (Pacific Time) in which all users were unable to access their Repls through the site. We have addressed the root cause, and the system is now operating normally. We know a two-hour downtime is not acceptable for you or your users. This post summarizes what happened and what we're doing to improve Replit so that this does not happen again. Technical details Here is the timeline of what happened, all times in Pacific Time: In 2021, we changed the way that configuration is pushed to the VMs that run Repls and streamlined multiple kinds of configurations. During this migration, a latent bug that we had not hit was introduced. When we tried to see if a configuration kind had been updated, we acquired a Golang RwMutex for reading, but if there was not a handler for that configuration kind, the read-lock would not be released. Golang's RwMutex are write-preferring, so acquiring multiple read-locks is allowed as long as there are no goroutines attempting to acquire a write-lock. When that happens, it will cause any future read-locks to block. On May 16, 2023,we introduced a new configuration kind, but we did not add a handler, which means that from this point on we were leaking read-locks, but the system was able to make progress.
May 8, 2023Recapping the SPC-Replit AI Hackathon
This is a guest post by South Park Commons. SPC is a community of 500+ builders, technologists, and domain experts with locations in San Francisco and New York City. The recent SPC-Replit AI hackathon brought together talented builders from the SPC community and Replit network to show off their technical chops and creativity by building cutting-edge AI applications. Participants had a week to develop a working demo that incorporated AI in some capacity and was built on Replit. From meal planning to baby-AGI's and even a bot that points out logical fallacies, these projects are proof of the limitless potential of AI. Check out the individual project highlights below! Dialectic - Improving Conversational Health - 1st Place 🥇 Team: Somudro Gupta & Casey Caruso
