Sign up to save tools and stay up to date with the latest in AI
bg
bg
1

GitHub - farouqaldori/aiformat: aiformat is a simple tool you can use from the command line. It helps you select files and folders and change them into a format that AI assistants like Claude can understand.

Mar 19, 2024 - github.com
The article discusses a command-line tool called 'aiformat' that allows users to select files and folders and convert them into a format that AI assistants like Claude can understand. This tool simplifies the process of sharing code snippets and project structures directly from the console, eliminating the need for manual copying and pasting. It is built using Ink and offers features like interactive selection, filtering, navigation, and automatic copying of the formatted output to the clipboard.

The article also provides information on how to install and use 'aiformat'. It requires Node.js to be installed on the system. The usage involves navigating to the desired directory, running the 'aiformat' command, selecting the required files and folders, and pressing Enter to get the formatted output copied to the clipboard. The output is optimized for Claude, wrapping files with XML tags. The article also mentions the process for local development of 'aiformat' and encourages contributions to the project.

Key takeaways:

  • Aiformat is a command line tool that helps select files and folders and convert them into a format that AI assistants like Claude can understand, making it easier to share code snippets and project structures.
  • The tool allows interactive selection of files and folders, filtering using a search query, navigation using arrow keys, and automatic copying of the formatted output to the clipboard.
  • Updates to the tool include added support for searching inside deeply nested files, ability to expand/collapse folders with the 'Tab' key, and differentiation between folders and files using emojis.
  • To use aiformat, Node.js must be installed on the system. The tool can be installed globally using the command: $ npm install --global aiformat.
View Full Article

Comments (0)

Be the first to comment!