Igor Marcossi

January 14, 2022

Making a font downloader with JS

šŸ‘‹ Hey everyone!

Important: hey mail/world is a new service, so obviously thereā€™s some bugs. Unfortunately my last newsletter was published with a missing GIF, itā€™s no my fault, sorry. I already let Hey know about this bug.

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!

About Igor Marcossi

Developer, designer and annoying šŸ•

Get to know me more here.