gitFM is a command-line tool based on Node.js that searches the GitHub repository, retrieves repository file structures, and creates repository files.
First, make sure you have installed Node.js. Then install gitFM globally by running the following command:
npm install -g gitfm
gitfm
or, run it without locally installing it -
npx gitfm
gitFM has a simple command line interface that guides you through the process of searching, selecting, and operating the repository.
When you run gitFM, it will prompt you to enter a search keyword. For example, if you want to search for a repository with the name "express", you can enter:
express
in the search input.
gitFM returns a list of search results. You can select one from the Repository list.
NOTE: There's no reverse motion support for now. Means once you enter in the list of repos after the search input you can't go back to the search input.
After selecting a Repo, gitFM will display detailed information about the Repo, including the Repositories name, description, and GitHub link. You can continue viewing the contents of .
If you select a Repository, gitFM will prompt you to agree cloning the Repository locally. For example, if you want to create a repository in the "my-repo" directory, you can specify:
my-repo
in the next input prompt where it will ask you if want to clone into a specific directory.
gitFM is a convenient command-line tool that can be used to search, view and clone GitHub Repositories. Through this tool, you can easily browse and explore the code repository on GitHub from you fav commandline.
If you encounter any problems or have any suggestions when using gitFM, you are welcome to submit an issue or pull request in the GitHub repository.
GitHub repository: https://github.com/Debajyati/gitFM