<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sarthak Dwivedi</title>
    <description>The latest articles on DEV Community by Sarthak Dwivedi (@globalkonvict).</description>
    <link>https://dev.to/globalkonvict</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F222798%2F65860e74-19e1-40d0-ab27-9bc234f638c1.jpg</url>
      <title>DEV Community: Sarthak Dwivedi</title>
      <link>https://dev.to/globalkonvict</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/globalkonvict"/>
    <language>en</language>
    <item>
      <title>Effortlessly Feed Your Code to AI Chatbots with CrazyNote!</title>
      <dc:creator>Sarthak Dwivedi</dc:creator>
      <pubDate>Sat, 06 Jul 2024 13:31:34 +0000</pubDate>
      <link>https://dev.to/globalkonvict/effortlessly-feed-your-code-to-ai-chatbots-with-crazynote-1njd</link>
      <guid>https://dev.to/globalkonvict/effortlessly-feed-your-code-to-ai-chatbots-with-crazynote-1njd</guid>
      <description>&lt;p&gt;Do you know how tedious it is to copy code from one file to another to give AI chatbot (or ChatGPT) some context? It's like a never-ending game of digital hopscotch! That's why I created CrazyNote, a CLI app that automates this process. It’s customizable, so it works for almost any project.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is CrazyNote?
&lt;/h2&gt;

&lt;p&gt;CrazyNote is my brainchild, designed to take the crazy out-of-context sharing processes! Imagine a tool that scans your project directory, reads file contents, and then creates comprehensive Markdown documentation. It's perfect for feeding data to AI chatbots. It's a kind of code flattener if you will but it doesn't merge everything as a single file rather creates a markdown file.&lt;/p&gt;

&lt;p&gt;Why the name CrazyNote? Well, I was going to call it mad-structure (Which was the first iteration but then I decided to do a new iteration from scratch so there was already mad-structure folder in my drive and I felt too lazy to remove it) So it's nothing fancy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs1w0fqwjmcs226rc5wz5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fs1w0fqwjmcs226rc5wz5.png" alt="project-files" width="711" height="555"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Directory Traversal:&lt;/strong&gt; CrazyNote dives deep into your project directory, including all relevant files.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ignore Patterns:&lt;/strong&gt; You can exclude specific files or directories based on patterns.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom Templates:&lt;/strong&gt; Use predefined or custom Handlebars templates to format your documentation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Language Mapping:&lt;/strong&gt; Detects the programming language of files based on their extensions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;File Metadata:&lt;/strong&gt; Includes file size and last modified date in the documentation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Initialization:&lt;/strong&gt; Quickly set up default configuration files and templates.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to Use CrazyNote
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You can install CrazyNote directly from npm. It's super easy!
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;npm install -g crazynote&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Setting Up CrazyNote in Your Project&lt;/li&gt;
&lt;li&gt;First, initialize the configuration file:
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;crazynote --init&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Or choose a template:
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;crazynote --init --template detailed_explorer&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Once initialized, run CrazyNote to generate your Markdown File with your project content:&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;crazynote&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Example
&lt;/h2&gt;

&lt;p&gt;Let's use CrazyNote on CrazyNote itself. Here's the final output it generated: &lt;a href="https://github.com/globalkonvict/crazynote/blob/main/example/output.md" rel="noopener noreferrer"&gt;CrazyNote Output&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Thanks and Suggestions
&lt;/h2&gt;

&lt;p&gt;Thank you for checking out CrazyNote! Your feedback and suggestions are always welcome. I do hope it's useful to you.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>npm</category>
      <category>chatgpt</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
