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

Help Wanted: Figlet alternative / native header in shell #1246

Closed
MickLesk opened this issue Jan 4, 2025 · 6 comments
Closed

Help Wanted: Figlet alternative / native header in shell #1246

MickLesk opened this issue Jan 4, 2025 · 6 comments
Labels
dependencies Pull requests that update a dependency file help wanted Extra attention is needed maintenance Code maintenance or general upkeep of the project

Comments

@MickLesk
Copy link
Member

MickLesk commented Jan 4, 2025

Help Wanted:

Searching an Alternative for Figlet Header Generation:

Goals:

  1. replacement of Figlet/Toilet
  2. clean header area

Solution:

  • Feel free to make suggestions
  • If possible without dependencies, must work on debian/ubuntu & ultimately also on alpine.
  • Must work for all script lengths, e.g. “memos” or also “Homeassistant-Core”

Idea:

  • Native script (like to upload or create a repo yourself), which we can implement in the build.func that the ASCII header is built dynamically without third-party software.
@MickLesk MickLesk added help wanted Extra attention is needed maintenance Code maintenance or general upkeep of the project labels Jan 4, 2025
@MickLesk MickLesk pinned this issue Jan 4, 2025
@MickLesk MickLesk added the dependencies Pull requests that update a dependency file label Jan 4, 2025
@michelroegl-brunner
Copy link
Member

I'm actually trying to port/implement something in bash atm. Will be a few more days tough.

@burgerga
Copy link
Contributor

burgerga commented Jan 5, 2025

You could do it with a Github action that automatically creates/update the ASCII headers in a directory in the github repo for every script.

Benefits:

  • No dependencies in the LXC/VM
  • Efficient: only generated once (or when updated)
  • No need to reinvent the wheel

@MickLesk
Copy link
Member Author

MickLesk commented Jan 5, 2025

Can you create an Example Branch for Testing? Im not a pro with GH Actions 😅

@towerhand
Copy link
Contributor

towerhand commented Jan 5, 2025

What I had in mind is having a static ASCII header displaying "Proxmox VE Helper-Scripts" and a couple of lines with the relevant information for the repo. Then, a variable line with the name of the application. Keep it simple.

@burgerga
Copy link
Contributor

burgerga commented Jan 6, 2025

@MickLesk Yes, it will take a bit of time though with the after-holidays catch up :)

@burgerga
Copy link
Contributor

Ah I see you already wrote a GHA, nice! I thought about creating a separate file for each APP but this approach saves you the trouble of figuring out that logic, because the computational cost is likely negligible :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file help wanted Extra attention is needed maintenance Code maintenance or general upkeep of the project
Projects
None yet
Development

No branches or pull requests

4 participants