An fzf powered "Project creator from a GitHub template" #4152
brpaz
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Build this script today. It´s a pretty basic usage of fzf, but still, I think it´s a nice example of the power of fzf to unlock new workflows.
But basically, it´s a shell script, that shows an list of project templates in GitHub, prompt the user to select a template, and then proceeds to create a new repo from that template.
This script uses:
bat
, if you want, but I find glow to be nicer for markdown files.Unfortunately, GitHub CLI, doesn´t allow to filter the user repositories to return only templates, so I needed to add the topic
template
to all the template repos. A bit redundant, but it what it is.Here is the script: Feel free to use it, and suggest improvments.
Beta Was this translation helpful? Give feedback.
All reactions