Skip to content
@RikaiCode

RikaiCode

Advanced Repository Flattener, grade code quality (A++ to C), and visualize architecture. AI-powered analysis & security scanning.

RikaiCodeBanner

Flattening for AI, Context for understanding, and Grading for quality.

RikaiCode is a sophisticated, browser-based tool designed to turn complex codebases into structured, actionable data. Whether you need to feed code into an LLM, audit a project's quality, or simply understand a new architecture, RikaiCode provides the insights you need in a beautiful, dark-themed interface.

License Python Streamlit Open Source DOI


✨ Key Features

1. Multi-Source Input

Seamlessly analyze public GitHub or GitLab repositories, or upload local files and ZIP folders. It handles large repositories by automatically skipping binary files and non-text assets to ensure optimal performance.

2. Intelligent Grading System

RikaiCode assigns a unified grade (A++ to C) to every project. This isn't just a random score; it's calculated using a weighted algorithm based on industry standards for software health.

3. AI-Powered Analysis (Rikai AI)

Integrated with the GLM-4.7-Flash model, RikaiCode acts as your personal code architect. It can summarize entire projects, explain complex functions, and generate onboarding guides.

4. Security Heuristics

Automatically scans code for potential vulnerabilities, including:

  • Hardcoded AWS Access Keys.
  • Generic API Keys/Secrets.
  • Private SSH Keys (RSA, DSA, EC, OpenSSH).

5. Visual Insights

Transforms raw git data into interactive visualizations:

  • Treemaps: File extension distribution.
  • Pie Charts: Code composition.
  • Heatmaps: Commit activity by hour and day of the week.

6. One-Click Export

Export your entire flattened codebase into a single file for LLM context. Supported formats: TXT, JSON, PDF, DOCX, HTML, Markdown, LaTeX.


📖 How to Use

  1. Select Source: Choose between GitHub URL, GitLab URL, or Upload Files.
  2. Analyze:
    • If using a URL, click "Fetch Repository".
    • If uploading, drag and drop your files.
  3. Explore: View the repository grade, architecture diagram, security alerts, and code statistics.
  4. AI Insights: Expand the "Rikai AI Analysis" section to generate architectural summaries.
  5. Export: Use the export buttons at the bottom to download the flattened context.

License

AGPL v3 License

This project is licensed under the AGPL 3.0 License - see the LICENSE file for details.


📨 Contact

Questions, feedback, or collaboration ideas? Reach out at pteroisvolitans12@gmail.com or open an issue on GitHub.

Contributions are always welcome!


Made with 🤍 by Aurumz

Pinned Loading

  1. RikaiCode RikaiCode Public

    Forked from aurumz-rgb/RikaiCode

    Advanced Repository Flattener, grade code quality (A++ to C), and visualize architecture. AI-powered analysis & security scanning.

    Python

  2. rikaicode.github.io rikaicode.github.io Public

    HTML

Repositories

Showing 3 of 3 repositories

Top languages

Loading…

Most used topics

Loading…