Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

replit-export

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

replit-export

Replit has recently updated its Starter Plan (the core free plan) to limit users to 3 Repls. Accounts exceeding this limit will face restrictions in the future (all repls will be automatically deleted in a year) unless they subscribe to a $25/month plan.

  • 1.0.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

Replit Starter Plan Changes

Replit has recently updated its Starter Plan (the core free plan) to limit users to 3 Repls. Accounts exceeding this limit will face restrictions in the future (all repls will be automatically deleted in a year) unless they subscribe to a $25/month plan.

To help transition smoothly, this CLI script downloads all Repls from your account, including environment variables and configuration data, allowing you to securely move your projects off Replit.

email

Installation

To install the package globally, run:

npm install -g replit-export

Usage

replit-export --help

Command Options

  • -V, --version
    Outputs the version number.

  • -o, --output <directory>
    Specifies the directory to save Repls.

  • -a, --auth <cookie>
    Replit authorization cookie (connect.sid).

  • -l, --load <file>
    Load a previous save file to continue downloading (default: .replit-export.save).

  • -c, --concurrent <number>
    Sets the maximum number of concurrent downloads (default: 15).

  • -m, --max
    Limits the maximum number of Repls to download.

  • -f, --filter <...files>
    Filters out files matching the specified patterns (default: ["node_modules/",".cargo/"]).

  • -h, --help
    Displays help information.

To retrieve the authorization cookie required for this script:

  1. Log in to Replit.
  2. Open DevTools in your browser.
  3. Copy the connect.sid cookie.
    Alternatively, you can use an extension like Cookie Editor.

Quickstart Guide

To quickly start downloading all your Repls, run the following command:

replit-export --output repls/ --auth <cookie>

This will download all public and private Repls from your account to the repls/ folder.

Environment Variables

Environment variables are automatically extracted and saved in a .env file in the root folder of each Repl.

Ratelimit and Disk Space Considerations

If you have a large number of Repls, ensure you have sufficient disk space on your computer. Replit enforces a rate limit for downloading entire Repl zips. The CLI handles these rate limits automatically, and you may notice occasional pauses. If you have many Repls, it's recommended to leave the CLI running in the background until the process is complete.

FAQs

Package last updated on 24 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc