google / fonts

Font files available from Google Fonts, and a public issue tracker for all things Google Fonts
https://fonts.google.com
18.29k stars 2.64k forks source link

Yarn/NPM package #1790

Open soullivaneuh opened 5 years ago

soullivaneuh commented 5 years ago

Maybe it was already discussed, but I didn't find any related issues on this repository.

Having all the font on GitHub is great to get last update easily and use self-hosting.

But it would be more convenient for theme packages using one of these fonts if they are proposed on Yarn/NPM.

I see two possibilities:

Both possibilities may be combined.

What do you think?

davelab6 commented 5 years ago

Sounds like https://twitter.com/kylemathews/status/826902366674833410

eliheuer commented 5 years ago

Also, more discussion on this subject here: https://gist.github.com/rsms/b835a8f4cf23638d182197673b24fc89

eliheuer commented 5 years ago

And if anyone wants to get adventurous and make a prototype: https://medium.com/@sdboyer/so-you-want-to-write-a-package-manager-4ae9c17d9527

I've been thinking about doing something like this just for the OFL and pairing it with a standardized repo structure. I might call it something like LTC (Libre Type Commons). This package manager would work with a standardized git repo structure, maybe called LTRS (Libre Type Repo Structure).

The best package manager I have used is Cargo, so I would take inspiration for that project: https://crates.io/

davelab6 commented 5 years ago

@yanone and @pathumego are working on related projects

soullivaneuh commented 5 years ago

I didn't know about typeface @davelab6, thanks.

But would not be great to have this official under the Google namespace?

pathumego commented 5 years ago

@eliheuer https://github.com/pathumego/fontpackage here is a draft of what I've been working on.