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

Initial version with the bare minimum to switch from the old JS script #1

Merged
merged 1 commit into from
Apr 20, 2023

Conversation

jveillet
Copy link
Owner

This is the first version of the tool that can completely replace the old nodejs script.

It as basically the same features as the js script:

  • Command line arguments to fill the placeholders in the image template.
  • Dynamic positions for the tags under the title.
  • Dynamic position of author name and date.
  • Date formatting to human readable.
  • Multiline title to accommodate its length and the image size.
  • Final image generation.

Some things to consider enhancing:

  • The fonts used as to be stored with the binary so we can reference them,it would be best to use the fonts available on the platform.
  • Refactoring, everything is basically put in the main func.

@jveillet jveillet merged commit e03cc4a into main Apr 20, 2023
@jveillet jveillet deleted the feature/initial-version branch April 20, 2023 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant