Skip to content

dpny518/carrd-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carrd Site Downloader

This project is a Node.js script designed to download the HTML content of a Carrd website and save it to your local machine.

Features

  • Fetches HTML content from a specified Carrd URL.
  • Saves the HTML content to a local directory.
  • Easily configurable via environment variables.

Prerequisites

  • Node.js (v12.x or later)
  • npm (comes with Node.js)

Installation

  1. Clone the repository:
    git clone https://github.com/your-username/carrd-downloader.git
    cd carrd-downloader
    npm install
  2. Set up environment variables: Create a .env file in the root directory of your project and add the following content:
CARRD_URL=https://your-carrd-site-url.com
USER_EMAIL=your-email@example.com
USER_PASSWORD=your-password

Replace the placeholder values with your actual Carrd URL, email, and password.

  1. Add .env to .gitignore (if not already added):
echo ".env" >> .gitignore
  1. Usage Run the script:
node index.js

The script will fetch the HTML content from the specified Carrd URL and save it to the ./public directory.

  1. Output The downloaded HTML content will be saved in the public/index.html file.

About

Downloads card html files to host locally or on cloudflare

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published