Hacker News new | ask | show | jobs
Show HN: Code to Prompt (Chat-GPT) (github.com)
4 points by xablau 1186 days ago
I have implemented a small Go program that reads files in a directory and compiles their data into an output file or prints the results on the terminal. This program may be quite useful for people who are tired of copying and pasting individual files in ChatGPT in order to ask questions about their content.

Please take a look and share your feedback =]

1 comments

This looks pretty slick. Forgive me if this is obvious, but it says it loads “files”. What files can it load? Is there a list of file types that are supported?
Thanks, @mjtechguy. The program reads any files within the selected directory and copies the data to either a single output file or prints it in the terminal. It does not differentiate between file types.