Giter Site home page Giter Site logo

redenrik / code-chronicle Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11 KB

Code Chronicle is a Python-based project explorer that generates file indices & script summaries from a chosen directory. The user-friendly GUI, built with PyQt5, allows users to browse folders, select options, and create outputs. Gitignore patterns are respected for accurate file parsing.

Batchfile 3.69% Python 96.31%
code-analysis file-index file-management gpt language-model openai project-explorer pyqt5 python tool script-summary

code-chronicle's Introduction

Code Chronicle

Code Chronicle is a Python-based project explorer that generates file indices and script summaries while respecting .gitignore patterns. The project contains a user-friendly GUI built with PyQt5, allowing users to browse folders, select options, and create outputs. This tool can simplify the process of providing full projects to language models (e.g., GPT) as input, by aggregating relevant code and text files into a single summary file.

Installation and Usage

Prerequisites

  • Python 3.x
  • pip (Python package manager)

Install and Run

  1. Clone the repository or download the source code.
  2. Navigate to the Code Chronicle folder.
  3. Double-click on run.bat to install the required dependencies and launch the application in one shot.

The run.bat script will:

  • Create a virtual environment (if not already present) in the project folder.
  • Activate the virtual environment.
  • Install the required dependencies from requirements.txt.
  • Run the Project Explorer script (gui.py).

Features

  • Browse and select a project folder.
  • Generate a script summary that consolidates relevant code and text files, making it easy to provide full projects to language models as input.
  • Generate a file index that lists all files in the project, excluding those specified in the .gitignore file.
  • Automatically saves output files to a "chronicle-history" folder.

Contributing

Feel free to submit issues, feature requests, or pull requests. Your feedback and contributions are welcome and appreciated.

code-chronicle's People

Contributors

redenrik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.