Skip to content

Latest commit

 

History

History
73 lines (53 loc) · 1.57 KB

README.md

File metadata and controls

73 lines (53 loc) · 1.57 KB

lazyurl

lazyurl is a simple and cost-effective URL shortener designed for those with minimal needs and limited resources. This project was created to provide a straightforward solution without the overhead of more complex URL shorteners.

Features

  • Shorten URLs with ease
  • Minimal configuration required
  • Lightweight and efficient

Why lazyurl?

  • Resource-Friendly: No need to invest in expensive infrastructure or services.
  • Simple Needs: Perfect for users with basic URL shortening requirements.
  • Lazy-Friendly: Designed for those who want the simplest and quickest solution.

Getting Started

  1. Clone the repository:

    git clone https://github.com/contento/lazyurl.git
    cd lazyurl
  2. Install dependencies:

    npm install
  3. Build the project:

    npm run build
  4. Run the project:

    npm start

Deploying with Wrangler

  1. Install Wrangler:

    npm install -g wrangler
  2. Authenticate Wrangler with your Cloudflare account:

    wrangler login
  3. Configure your wrangler.toml file with your Cloudflare account details:

    name = "lazyurl"
    type = "javascript"
    account_id = "your-account-id"
    workers_dev = true
  4. Publish your project:

    wrangler publish

Usage

  • Access the URL shortener via your browser at http://localhost:3000.
  • Use the provided interface to shorten your URLs.

License

This project is licensed under the MIT License. See the LICENSE file for details.