Acervo
All projects

Web

Encurtador

A personal link shortener with no server: each link becomes a GitHub commit.

Overview

The problem

Free shorteners show ads or lose your links; running a server just for this is overkill.

The solution

A page that talks directly to GitHub: when you shorten a link it writes the redirect to a file in the repository, and Cloudflare Pages publishes it on your domain within seconds.

How it works

On the first visit, a three-step wizard really checks the repository, write permission and the _redirects file. Each new link is a commit; the push triggers the Cloudflare deploy.

Tech specs

Technologies
JavaScript, API do GitHub, Cloudflare Pages, anime.js
Languages
JavaScript, CSS, HTML