Making a font downloader with JS

Actual publishing date: Jan 14, 2022

👋 Hey everyone!

Do you know Alfred? If you’re a MacOS user you probably do, but just in case, Alfred is a replacement for Spotlight but WAAAAAY better. It’s faster, lighter, has more features, it’s awesome! And it also has support for custom workflows, which is basically mini algorithms that run when you type something in the search bar.

The options are unlimited, you can find your ip:

CleanShot 2022-01-14 at 16.09.53@2x.png Setup a quick web server:

CleanShot 2022-01-14 at 16.10.49@2x.png Generate lorem ipsum:

CleanShot 2022-01-14 at 16.11.36@2x.png There are TONS of custom workflows ready to use in the web.

Well, I’m always designing something, so I always need new fonts to use. I often do tiny projects for myself that I don’t have any plan to release in a near future, so I obviously don’t buy every font I wanna test. I know it’s not “legal”, but I don’t think using a font for a personal project should require you to pay fot it. Controversial point? Yeah, for sure, but I’m not a moral lord and I did a workflow to download fonts from Github for me 🎉

For those who don’t know, Github has tons of paid fonts uploaded to public repos and you can find them by googling “site:github.com yourfontnamehere.otf”.

However, it’s really really boring to google, find a repo, download the entire repo, find the font folder, organizing the file names and put everything into my fonts folder.

Now look at this (unfortunately I can’t embed videos or gifs into this newsletter yet, sorry 😞): A cool video showing the thing.

I even made a cute icon for Henry (the workflow's name lol):  icon.png

As you can see, all the family was redirected to my Fonts folder in Dropbox and I can activate it in TypeFace!

Don’t you know TypeFace? It’s a super awesome font manager for MacOS. Take a look:

CleanShot 2022-01-14 at 16.50.49@2x.png

It has Google Fonts support, so you can activate any Google Font you want anytime just by clicking the small circle beside the font's title.

You can buy it here: Typeface App – Font Manager for Mac

Or you can make a Setapp subscription for 9.99U$/month: Setapp | The best apps for Mac in one suite

Setapp was the best thing I did in my life. I will share some of my favorite apps in the next newsletters.

Since there's only a few of you, if someone wants this workflow, just contact me by answering this newsletter and I'll gladly send it to you 😀. I won't publish the code/workflow anywhere cause I don't want any of the packages to get patched. If I send you the workflow, I ask you not to publish as well.

This is it guys! Thanks for reading!

IGOR MARCOSSI

✨ I develop, I design and I'm very annoying.

Currently excited with: