---
title: "URL Shortener"
description: "A lightweight **URL shortening service** built with JavaScript — a simple yet effective microservice for generating and resolving short links."
canonical_url: "https://nnsvn.me/products/url-shortener"
---

> Index of every page on this site: [llms.txt](https://nnsvn.me/llms.txt)

<ct-card>



</ct-card>

{icon: "lucide:github" target="_blank" title="View on GitHub" to="[https://github.com/No-Name-Studio-VN/URL-Shortener"}](https://github.com/No-Name-Studio-VN/URL-Shortener%22%7D)

## Tech Stack

<table>
<thead>
  <tr>
    <th>
      Technology
    </th>
    
    <th>
      Purpose
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        JavaScript
      </strong>
    </td>
    
    <td>
      Core application logic
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Node.js
      </strong>
    </td>
    
    <td>
      Runtime environment
    </td>
  </tr>
</tbody>
</table>

## Features

- **Short Link Generation** — Create compact URLs from long links
- **Link Resolution** — Redirect short URLs to their targets
- **Minimal & Fast** — Lightweight codebase with minimal dependencies
- **Licensed under MIT**

## Project Structure

```text
URL-Shortener/
├── index.js          # Main application entry point
├── shortlink.js      # URL shortening logic
├── package.json      # Dependencies & scripts
└── LICENSE           # MIT License
```

## Getting Started

```bash
# Install dependencies
npm install

# Start the service
node index.js
```

## Sitemap

See the full [sitemap](https://nnsvn.me/sitemap.md) for all pages.
