βœ‚οΈ bitSnip β€” Simplify, Share & Track URLs in Seconds

Anirudha KashidAnirudha Kashid
3 min read

πŸš€ Live: https://bitsnip.vercel.app

πŸ”— GitHub: Anirudhakashid/URL-shortner

πŸ“Œ Introduction :

In a world dominated by digital sharing, long, messy URLs can feel like a nuisance β€” especially on social media or when printed on flyers. That’s where bitSnip comes in β€” a minimal yet powerful URL shortener that transforms long URLs into sleek, trackable links with QR codes and analytics. Whether you're a marketer, student, or someone who just wants to clean up links, bitSnip makes it effortless.

πŸ”§ Tech Stack :

Frontend

  • React.js

  • Tailwind CSS

  • Shadcn UI

Backend

  • Supabase (BaaS with authentication and PostgreSQL database)

πŸ–ΌοΈ Preview :

Homepage: clean and bold CTA.

Secure authentication via Supabase.

Manage all your links in one place.

Quickly generate short links.

Track clicks, device type, and location.

πŸ”₯ Features

  • βœ… Instant URL Shortening β€” Paste a long link, get a short one instantly.

  • πŸ“± Responsive Design β€” Clean layout across devices using Tailwind.

  • 🧩 Shadcn UI Components β€” For a beautiful and consistent UI experience.

  • πŸ“Š Analytics Dashboard β€” View click count, location, and device info.

  • πŸ“· QR Code Generator β€” Every link gets a downloadable QR code.

🧠 Challenges Faced

  • βš™οΈ Supabase Auth Flow: Integrating Supabase authentication and managing session state across pages required thoughtful handling using Context API and route guards.

  • πŸ” Private vs Public Routing: To prevent access to analytics and the dashboard without logging in, we built a reusable route protection layer.

  • πŸ” Custom URL Conflict Check: One key challenge was ensuring that custom short URLs created by users weren't already taken. This required performing a real-time check against the Supabase database before allowing the link to be created.

πŸŽ“ What I Learned

  • Deepened my understanding of React state management, async operations, and Supabase services.

  • Gained experience with component libraries like Shadcn and how to make them fit a custom brand/style.

  • Hands-on exposure to UI/UX design thinking β€” ensuring the tool is intuitive and fast.

  • Learned to handle errors effectively β€” from API call failures to form validation issues β€” using toast notifications, custom error messages, and controlled inputs to provide better user feedback and debugging.

  • Implemented form validation using Yup for the first time, which helped enforce strong input rules (like valid URLs, non-empty fields, etc.) and made form handling more predictable and scalable.

πŸ›‘οΈ What's Next?

  • 🧠 Malicious Link Detection – Planning to integrate an API to scan and warn users if a URL seems unsafe and ensures users safety.

Thanks for reading! πŸ™Œ
Feel free to try it out and let me know your thoughts:
πŸ‘‰ https://bitsnip.vercel.app

0
Subscribe to my newsletter

Read articles from Anirudha Kashid directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Anirudha Kashid
Anirudha Kashid