![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
![]() |
|
在這裡,我們看一下Gitingest和Robix,這是兩個渲染適合LLM攝入的代碼庫的工具。為什麼有用?
Here we take a look at Gitingest and Repomix, two tools that render a codebase suitable for LLM ingestion. Why is that useful?
在這裡,我們看一下Gitingest和Robix,這是兩個渲染適合LLM攝入的代碼庫的工具。為什麼有用?
When wanting to share code with a LLM for asking it to do some work on it, developers face two issues:
當想與LLM共享代碼以要求其對其進行一些工作時,開發人員面臨兩個問題:
* Firstly, LLMs prefer a single input file, while a codebase is split into multiple files and directories.
*首先,llms更喜歡單個輸入文件,而代碼庫分為多個文件和目錄。
* Secondly, the URL of the code on services like Github isn't recognized by LLMs.
*其次,諸如GITHUB之類的服務上的代碼URL並未被LLM識別。
So here's two tools that help with these issues. First of all Gitingest, which promises to:
因此,這是有助於解決這些問題的兩個工具。首先,有望:
Turn any Git repository into a simple text digest of its codebase. Perfect for ingesting code into large language models (LLMs).
將任何git存儲庫變成其代碼庫的簡單文本摘要。非常適合將代碼攝入大型語言模型(LLMS)。
It has a dedicated site with an input box where you can enter the repo's URL, although you can also replace hub with ingest in any Github URL for the same, as in "github.com" to "gitingest.com". Even easier, there's a browser extension for the most popular browsers.
它具有一個專用網站,上面有一個輸入框,您可以在其中輸入倉庫的URL,儘管您也可以在任何GitHub URL中使用攝入的Hub替換Hub,例如“ github.com”中的“ gitingest.com”。更容易的是,最受歡迎的瀏覽器有一個瀏覽器擴展程序。
And then Repomix is:
然後ropomix是:
A powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Language Models (LLMs) or other AI tools like Claude, ChatGPT, DeepSeek, Perplexity, Gemini, Gemma, Llama, Grok, and more.
一個功能強大的工具,將整個存儲庫包裝到一個單一的AI友好文件中。非常適合當您需要將代碼庫提供給大型語言模型(LLMS)或其他AI工具(例如Claude,Chatgpt,Deepseek,Cllexity,Gemini,Gemini,Gemma,Gemma,Lllama,Grok等)等其他AI工具。
Repomix looks more professional by sporting a cleaner web interface, giving more options to tweak, while it can also output the result file in XML, Markdown and plain text.
Ropomix通過採用更清潔的Web界面,提供更多調整的選項,同時可以輸出XML,Markdown和純文本的結果。
In either case what do you do with the resulting file? You can give the following instructions to your LLM:
無論哪種情況,您如何處理結果文件?您可以將以下說明給您的LLM:
This file contains all the files in the repository combined into one.
該文件包含存儲庫中的所有文件合併為一個。
I want to refactor the code, so please review it first. After that I want you to debug the code and write tests for it. Finally generate some code to add a feature.
我想重構代碼,因此請先對其進行檢查。之後,我希望您調試代碼並為其編寫測試。最終生成一些代碼以添加功能。
Both projects can also be selfhosted by cloning their Github repo. There you have it, modern tooling for developers in the age of AI.
克隆其github存儲庫也可以自我主持。在那裡,您可以為AI時代的開發人員提供現代工具。
More Information
更多信息
GitIngest
Gitingest
Repomix
ropomix
Related Articles
相關文章
Potpie - Agentic AI On Your Codebase
POTPIE-代碼庫上的代理AI
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
要了解有關I程序員的新文章,請註冊我們的每週新聞通訊,訂閱RSS Feed,然後在Twitter,Facebook或LinkedIn上關注我們。
Pi isn't infinite but it exemplifies the problem with allowing infinity into your life. Every year March 14 (3.14) is celebrated as Pi Day by π aficionados across the globe who can use it as a e[ ... ]
PI不是無限的,但它示出了使無限進入生活的問題。每年3月14日(3.14)慶祝全球π愛好者,他們可以將其用作AE [...]
OpenSilver 3.2 has been released, and can now be used to create WPF applications for mobile platforms. The open-source alternative to Silverlight is capable of running large, complex legacy applicatio[ ... ]
OpenSilver 3.2已發布,現在可以用於為移動平台創建WPF應用程序。 Silverlight的開源替代品能夠運行大型,複雜的舊應用程序[...]
免責聲明:info@kdj.com
所提供的資訊並非交易建議。 kDJ.com對任何基於本文提供的資訊進行的投資不承擔任何責任。加密貨幣波動性較大,建議您充分研究後謹慎投資!
如果您認為本網站使用的內容侵犯了您的版權,請立即聯絡我們(info@kdj.com),我們將及時刪除。
-
-
- PI網絡揭示了主網遷移和令牌分佈的詳細路線圖
- 2025-04-20 04:25:12
- PI網絡開發團隊發布了一項全面的更新,概述了其主網遷移過程的路線圖,以及該項目的標記學的深入分解
-
-
- 在下一個比特幣牛市中可能10倍的3個加密貨幣
- 2025-04-20 04:20:13
- 在牛市和熊市中,比特幣都決定了山寨幣價格的總體方向。
-
- 巴拿馬城批准措施,允許居民用比特幣,以太坊,USDC和USDT納稅
- 2025-04-20 04:15:13
- 這使巴拿馬城成為巴拿馬第一個接受加密貨幣付款的公共機構。
-
- 美國比特幣公開了:改變遊戲規則還是賭博?
- 2025-04-20 04:15:13
- 加密貨幣的世界繼續以瘋狂的速度前進,展現了高級業務策略與基層技術發展的同樣結合。
-
- 在俄勒岡州面臨新訴訟的共同案件
- 2025-04-20 04:10:12
- 加密交易所Coinbase透露,俄勒岡州總檢察長計劃提起類似於證券交易委員會(SEC)被駁回的訴訟。
-
-