0.1.0 β€’ Published 1 year ago

infu v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

infu

infu is a little CLI tool designed to let you share personalized messages, links, or even your CV directly from your terminal using your GitHub username.

This tool is perfect for quickly introducing yourself or sharing information through the terminal in a visually appealing and interactive way.

# Try it out!
$ npx infu

πŸš€ Features

  • GitHub Profile Display: Show a GitHub profile directly in the terminal by running npx infu {username}. It includes the profile image, name, and profile link.
  • Customizable User Messages: Easily add a custom infu.json file to your GitHub main branch to display a personalized message. You can share thoughts, links, or other content through this JSON file.
  • Quick Terminal Links: Define links in infu.json, and the tool will present these as interactive options in the terminal, allowing users to open selected links in their browser.
  • Accessible Help and Documentation:
    • --help or -h displays usage instructions.
    • --docs or -d provides a quick link to documentation.

πŸ“– Documentation

Complete documentation on setting up and using infu will be available soon on the infu docs. Stay tuned for updates!

πŸ“Œ Example Usage

Run the following commands to start using infu:

# Display a profile in the terminal
$ npx infu volkanakkus

# Show help information
$ npx infu --help

# Open documentation
$ npx infu --docs

πŸ”§ Setting Up infu.json

We're working on a website to make it easier to set up infu.json and customize your messages. For now, you can follow these steps to set up your custom messages:


To display custom messages or links, create a file named infu.json in GitHub profile's main branch. Here’s an example setup:

{
  "text": "Hello from your terminal! Check out my latest projects.",
  "options": [
    { "text": "View my portfolio", "link": "https://myportfolio.com" },
    { "text": "Connect on LinkedIn", "link": "https://linkedin.com/in/username" }
  ],
  "promptText": "What would you like to explore?",
  "optionLeaveText": "πŸ‘‹ Okay. See you."
}

License

This project is licensed under the MIT License. Inspired by F <3

0.1.0

1 year ago

0.0.1

1 year ago