HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
Dicklesworthstone
your-source-to-prompt.html
HTML2024–2025
Dicklesworthstone / your-source-to-prompt.html

your-source-to-prompt.html

Quickly and securely turn your code projects into LLM prompts, all locally on your own machine!

2Distinct people
5Mentions
0Explicit recommenders
760GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Quickly and securely turn your code projects into LLM prompts, all locally on your own machine!

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by week5 dated mentions

Observed mentions: 2024-12-14 05:23:24 UTC to 2025-02-15 07:11:21 UTC. Weeks start Monday, UTC.

0122024-12-09 00:00:00 UTC to 2024-12-16 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 commentsDec 92024-12-16 00:00:00 UTC to 2024-12-23 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2024-12-23 00:00:00 UTC to 2024-12-30 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2024-12-30 00:00:00 UTC to 2025-01-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-06 00:00:00 UTC to 2025-01-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJan 62025-01-13 00:00:00 UTC to 2025-01-20 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-20 00:00:00 UTC to 2025-01-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-27 00:00:00 UTC to 2025-02-03 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-03 00:00:00 UTC to 2025-02-10 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-02-10 00:00:00 UTC to 2025-02-17 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 10

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Dec 92024-12-09 00:00:00 UTC2024-12-16 00:00:00 UTC211
Dec 162024-12-16 00:00:00 UTC2024-12-23 00:00:00 UTC110
Dec 232024-12-23 00:00:00 UTC2024-12-30 00:00:00 UTC110
Dec 302024-12-30 00:00:00 UTC2025-01-06 00:00:00 UTC000
Jan 62025-01-06 00:00:00 UTC2025-01-13 00:00:00 UTC000
Jan 132025-01-13 00:00:00 UTC2025-01-20 00:00:00 UTC000
Jan 202025-01-20 00:00:00 UTC2025-01-27 00:00:00 UTC000
Jan 272025-01-27 00:00:00 UTC2025-02-03 00:00:00 UTC000
Feb 32025-02-03 00:00:00 UTC2025-02-10 00:00:00 UTC000
Feb 102025-02-10 00:00:00 UTC2025-02-17 00:00:00 UTC101

What Hacker News says

5 sources

Show HN: Source to Prompt- Turn your code into an LLM prompt with more features

Your Source to Prompt-- Turn your code into an LLM prompt, but with way more features! I just made this useful tool as a single html file that lets you easily turn your coding projects into targeted single text files for use in LLM prompts for AI-aided development. Unlike the many other existing competing projects-- to name just a few: 1. [files-to-prompt](https://github.com/simonw/files-to-prompt) 2. [repo2txt](https://repo2txt.simplebasedomain.com/) 3. [code2prompt](https://github.com/mufeedvh/code2prompt) 4. [repomix](https://github.com/yamadashy/repomix) 5. [ingest](https://github.com/sammcj/ingest) 6. [1filellm](https://github.com/jimmc414/1filellm) 7. [repo2file](https://github.com/artkulak/repo2file) ...there are some real advantages to this one that make it stand out: * It's a single html file that you download to your local machi
Read the rest
ne-- that's it! just open in a modern browser like chrome and you can use it securely. * Because it's locally hosted, with no requirements like python or anything else, it's very quick to get it running on any machine, and because it's local, you can use it on your own private repos without worrying about using a github authorization token or similar annoyance. * You don't even need to be working with a repo at all, it works just as well with a regular folder of code files. Also, I added tons of quality of life improvements that were major pain points for me personally: These include laboriously re-selecting the same or very similar subset of files over and over again; now you can save a preset (either to localStorage in the browser or exported and saved as a JSON file) and dramatically speed this up. There are also a few other features to speed up the file selection process, such as quick string based filtering on file names, and common quick selection patterns (such as "select all React files"). It also keeps track of the total size in KB and lines of text that have been selected in a handy tally section which is always visible in the upper right corner, so you always know when you are reaching the maximum of the context window of whatever model you're working with. Based on my experience, I added in warnings for GPT4o and o1 and also Claude3.5 Sonnet. Before the listing of the files and their contents, it also automatically includes the hierarchical file/folder structure of the files you select, and next to each one, shows the size in KB and the number of lines, which helps give the model context about which files are the most important. I also added the ability to minify the code so you can cram more into the context window. Similarly, you can also strip out code comments, and it will tell you how much space this saved. You can also specify a "preamble" that you can save and quickly edit, as well as a "goal" where you specify what you're trying to accomplish. All of this can be included in your saved presets to save you time. I hope you find it useful!
1 points · Open discussion
I just made this useful tool as a single html file that lets you easily turn your coding projects into targeted single text files for use in LLM prompts for AI-aided development: https://github.com/Dicklesworthstone/your-source-to-prompt.h... Unlike the many other existing competing projects-- to name just a few: files-to-prompt: https://github.com/simonw/files-to-prompt repo2txt: https://repo2txt.simplebasedomain.com/ code2prompt: https://github.com/mufeedvh/code2prompt repomix: https://github.com/yamadashy/repomix ingest: https://github.com/sammcj/ingest 1filellm: https://github.com/jimmc414/1filellm repo2file: https://github.com/artkulak/repo2file ...there are some real advantages to this one that make it stand out: It's a single html file that you download to your local machine-- that's it! just open in a modern browser like chrome an
Read the rest
d you can use it securely. Because it's locally hosted, with no requirements like python or anything else, it's very quick to get it running on any machine, and because it's local, you can use it on your own private repos without worrying about using a github authorization token or similar annoyance. You don't even need to be working with a repo at all, it works just as well with a regular folder of code files. Also, I added tons of quality of life improvements that were major pain points for me personally: These include laboriously re-selecting the same or very similar subset of files over and over again; now you can save a preset (either to localStorage in the browser or exported and saved as a JSON file) and dramatically speed this up. There are also a few other features to speed up the file selection process, such as quick string based filtering on file names, and common quick selection patterns (such as "select all React files"). It also keeps track of the total size in KB and lines of text that have been selected in a handy tally section which is always visible in the upper right corner, so you always know when you are reaching the maximum of the context window of whatever model you're working with. Based on my experience, I added in warnings for GPT4o and o1 and also Claude3.5 Sonnet. Before the listing of the files and their contents, it also automatically includes the hierarchical file/folder structure of the files you select, and next to each one, shows the size in KB and the number of lines, which helps give the model context about which files are the most important. I also added the ability to minify the code so you can cram more into the context window. You can also specify a "preamble" that you can save and quickly edit, as well as a "goal" where you specify what you're trying to accomplish.
In Source to Prompt- Turn your code into an LLM prompt, but with more features

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.