A template project to build a short URL manager with Eleventy
1y is an innovative short URL manager designed for simplicity and elegance, built on the Eleventy static site generator. Unlike traditional URL shorteners, 1y allows users to create “beautiful” short links by managing them through Markdown files. This hands-on approach ensures that both short and long URLs retain a clean aesthetic while being easy to handle.
The flexibility of 1y lies in its ability to generate redirection rules suitable for different hosting environments, making it a versatile choice for developers looking to implement custom URL shorteners without the clutter and complexity of conventional setups.
Markdown File Based Management: Users create short URLs by simply storing long URLs in the front matter of Markdown files, which keeps the process straightforward and organized.
Multiple Redirection Formats: 1y generates redirection rules in four different formats: for Apache with both Alias and Rewrite modules, Netlify with a simple redirects file, and HTML pages using meta and JavaScript redirects.
User-Friendly Deployment: With an easy-to-use Netlify Deploy Button, you can create a new repository and deploy it instantly, streamlining the setup process for new users.
Automatic Updates: Each time you push changes to your GitHub repository, Netlify automatically builds the new redirection files, ensuring your short links are always up to date.
Customizability: As an open-source tool, 1y welcomes contributions, allowing users to modify and enhance the code to better fit their needs.
MIT License: The software is provided under the MIT license, encouraging free use and distribution while maintaining a level of freedom for developers to customize it as they see fit.