Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn/NPM package #1790

Open
soullivaneuh opened this issue Dec 13, 2018 · 6 comments
Open

Yarn/NPM package #1790

soullivaneuh opened this issue Dec 13, 2018 · 6 comments
Labels
I API / Website / Platform fonts.google.com related stuff

Comments

@soullivaneuh
Copy link

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:

  • A simple google-fonts package with all the font inside.
  • A package per font. For example gfont-lato. Better to download only what we need.

Both possibilities may be combined.

What do you think?

@davelab6
Copy link
Member

@davelab6 davelab6 added this to the Questions about Google Fonts service (API) milestone Dec 13, 2018
@eliheuer
Copy link
Collaborator

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

@eliheuer
Copy link
Collaborator

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
Copy link
Member

@yanone and @pathumego are working on related projects

@soullivaneuh
Copy link
Author

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

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

@pathumego
Copy link

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

@RosaWagner RosaWagner removed this from the Questions about Google Fonts service (API) milestone Aug 13, 2021
@RosaWagner RosaWagner added the I API / Website / Platform fonts.google.com related stuff label Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I API / Website / Platform fonts.google.com related stuff
Projects
None yet
Development

No branches or pull requests

5 participants