Tiratana is a powerful and simple commandline tool (CLI) that generates useful codebase reports in a single command! Designed to save time and effort, Tiratana helps you uncover architectural insights, design patterns, potential vulnerabilities, and more, all in a minimal and elegant way.
Manually analyzing a codebase is often time-consuming and requires a high level of engineering proficiency. Tiratana streamlines this process by leveraging the power of modern programming and AI advancements to:
- Provide a quick overview of the codebase.
- Highlight architectural and design patterns.
- Detect potential vulnerabilities.
- Save time for developers, consultants, and teams.
- Whether youβre reviewing your codebase or analyzing one for a client, Tiratana offers actionable insights in a compact, easy-to-understand markdown report.
Install Tiratana using npm:
npm install tiratana -g
If you want to use custom environment variables, you can create a file with the name env
in the root directory of your project. The file should contain OPENAI_API_KEY=<your_api_key>
.
tiratana -d ./my-codebase --env ./path/to/env/file.env
Run Tiratana on a codebase:
tiratana -d ./my-project -o report.md -v
--directory, -d
: The directory to process (required).--outputFile, -o
: Specify a file to save the generated report (optional).--verbose, -v
: Print verbose logs (default: false).--performanceStats, -p
: Display performance statistics (optional).--writePreliminaryAnalysis, -z
: Save preliminary analysis to a file (optional).--standardize, -s
: Generate a standardized report (optional).--standardizationFile, -f
: Use a file for report standardization (optional).--env, -e
: Specify an environment file to load (optional).--version
: Show the current version of Tiratana.--help
: Show help.
tiratana -d ./my-codebase
tiratana -d ./my-codebase -o report.md
tiratana -d ./my-codebase -v
tiratana -d ./my-codebase -p
tiratana -d ./my-codebase --env ./path/to/env/file.env
We welcome contributions! Follow these steps to get started:
-
Clone the repository:
git clone https://github.com/yourusername/tiratana.git cd tiratana
-
Install dependencies:
npm install
-
Build the package:
npm run build
-
Start the application:
npm run start
-
Run tests:
npm run test
- Fork the repository and create a new branch for your feature or fix.
- Make your changes and ensure they pass all tests.
- Submit a pull request with a clear description of your changes.
Tiratana is licensed under the MIT License. See the LICENSE file for more details.
Start generating smarter codebase reports with Tiratana today! π
"I don't configure what I can't figure" π¦ΉπΌ β Aditya Patange (AdiPat)