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

Community Scripts to Automatically Update Custom Fonts #729

Open
ayuhito opened this issue May 26, 2023 · 0 comments
Open

Community Scripts to Automatically Update Custom Fonts #729

ayuhito opened this issue May 26, 2023 · 0 comments
Labels
contributors welcome! Open to outside contributors enhancement New feature or request

Comments

@ayuhito
Copy link
Member

ayuhito commented May 26, 2023

Description

fontsource/font-files#1 introduced Iosevka with an auto-updating script to update all Iosevka fonts. A significant problem with current custom fonts is that they don't get automatic updates unless manually handled, which is a maintenance burden.

I think we should have a folder of community scripts in the font-files repository to automatically run in repository builds to keep all files up to date. This ensures we can keep certain popular packages regularly updated without more time needed from maintainers.

A --scripts flag which takes in a directory as an argument should be included in the CLI which runs all Node.js files in a chosen directory. We would need to consider adding useful hooks from the CLI and templates for these scripts so they could automatically rename all font files or we don't unnecessarily redownload all files unless the version value upstream has been changed for example.

@ayuhito ayuhito added enhancement New feature or request contributors welcome! Open to outside contributors labels May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributors welcome! Open to outside contributors enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant