Skip to content

Grant-Greer/Astro-Shortener

Repository files navigation

Shortly

A simple web application that allows you to shorten any valid URL. The app integrates with the shortcode API and provides a user-friendly interface. This project was built with Astro, React, TypeScript, Vite + SWC.

Features

  • Shorten any valid URL
  • View the optimal layout for the site depending on the device's screen size
  • See a list of your shortened links, even after refreshing the browser
  • Copy the shortened link to your clipboard in a single click
  • Receive an error message when the form is submitted if the input field is empty

How to Use

  1. Enter a valid URL into the input field
  2. Click the "Shorten" button
  3. Your shortened link will appear on the screen
  4. To copy the link to your clipboard, simply click the "Copy" button

Error Messages

If the input field is empty, you will receive an error message indicating that a URL is required. Please enter a valid URL and try again.

Conclusion

Overall, Shortly is a fast and convenient way to shorten your URLs. Whether you're a marketer, blogger, or just someone who wants to share links, this app is perfect for you. With its robust and efficient architecture built with Astro, React, TypeScript, Vite + SWC, you can trust that your links will be shortened quickly and easily. Try it out and see for yourself!