{"repo":"adithyapaib/lenk.cf","free":true,"listed":false,"github":"https://github.com/adithyapaib/lenk.cf","clone":"git clone https://github.com/adithyapaib/lenk.cf.git","description":"A URL shortener website and PWA build with vercel serverless cloud function, MongoDB and nodeJS","language":"JavaScript","stars":15,"topics":["url-shortener","nodejs","mongodb","javscript","typescript","scss","vercel-serverless","vercel"],"license":"MIT","category":"ui-components","readme_excerpt":"LENK.CF LENK.CF is an open-source URL shortener built for Vercel serverless deployment with MongoDB for persistence, Redis for caching, and a no-framework frontend. It ships with a custom-branded landing page, custom alias support, Redis-backed redirect acceleration, a lightweight PWA setup, and a small JSON API. The current frontend uses a dark editorial design system with an animated intro sequence, SEO and GEO metadata, and a redesigned 404 experience. Highlights - Shorten long URLs with generated short IDs. - Create custom aliases with validation for letters, numbers, , and - . - Cache both url - shortId and shortId - url in Redis to reduce database lookups. - Redirect short links with permanent 301 redirects. - Serve a static landing page and error page through Vercel routing. - Expose a simple API for creation, redirects, discovery, and listing. - Include a minimal service worker for PWA-style asset caching. - Ship a metadata-rich homepage with Open Graph, Twitter Card, canonical, and JSON-LD schema. Stack Frontend - HTML - CSS / SCSS assets - Vanilla JavaScript - Service Worker Backend - Node.js serverless functions on Vercel - MongoDB with Mongoose - Redis v3 client for caching and shared utility helpers Infrastructure - Vercel routing via vercel.json - MongoDB Atlas or any reachable MongoDB deployment - Redis Cloud or any reachable Redis instance How It Works 1. The landing page at / serves the static UI from static/index.html . 2. A random short link is created thro","default_branch":null,"files":null,"tree":[],"storefront":"/r/adithyapaib","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/adithyapaib/lenk.cf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}