This repository is a tutorial sample blog application built with Spring Boot and Kotlin. It demonstrates how to combine Spring Boot with Kotlin idioms such as data classes, extension functions, null safety, and the Kotlin-specific Spring Boot bootstrap. The application provides both an HTML frontend (using Mustache templates) and a REST API for articles and users, backed by an in-memory H2 database via Spring Data JDBC. It includes integration tests using RestTestClient and unit tests with Mockk and SpringMockk. The code is clean, well-structured, and serves as an official reference for building Spring Boot applications with Kotlin.
extruct is a Python library for extracting embedded metadata from HTML markup. It supports six metadata syntaxes: W3C HTML Microdata, JSON-LD, Microformat (via mf2py), Open Graph, RDFa (via pyrdfa3/rdflib), and Dublin Core. The library provides a consistent extractor interface (`.extract()` and `.extract_items()`) and a CLI tool (`extruct`) that fetches a URL and outputs extracted metadata as JSON. The codebase is organized into modular extractors under `extruct/`, an orchestrating `_extruct.py` that dispatches to selected syntaxes, and a `uniform.py` module that flattens results into a common schema. The primary entry points are the `extruct.extract()` function and the `extruct.tool:main` console script. Architecturally, each extractor is a standalone class that parses an HTML string (or lxml tree) and yields JSON-serializable dictionaries. The JSON-LD extractor is notably robust, implementing a multi-stage repair pipeline to handle malformed input commonly found in the wild (HTML/JS comments, CDATA, unescaped quotes, trailing junk). The RDFa extractor wraps pyRdfa with workarounds for ordering and namespace issues. The Microdata extractor implements the W3C algorithm using lxml XPath with EXSLT set operations. The Open Graph extractor uses prefix-attribute matching with a hardcoded namespace map. The Dublin Core extractor maps large element/terms vocabularies. External dependencies include lxml (HTML parsing), rdflib and pyrdfa3 (RDFa), mf2py (Microformat), jstyleson (JSON repair), html-text (text extraction), and w3lib (URL utilities). The library is designed for web scraping and crawling pipelines, where extracting structured data from HTML is a common need. It is published on PyPI and maintained by Scrapinghub. The test suite is extensive, with over 100 HTML fixtures organized by source (schema.org, W3C, Songkick, Wikipedia, custom invalid cases). Tests cover edge cases like malformed JSON-LD, namespace variations, and real-world pages. The codebase shows signs of age in some areas (RDFa hacks, stale references to removed modules, filtered deprecation warnings), but remains functional and well-tested.
ccNexus is a multi-protocol AI API proxy/gateway that provides intelligent endpoint rotation, failover, and format conversion between Claude, OpenAI Chat, OpenAI Responses, and Gemini APIs. It operates as both a desktop application (built with Wails v2, providing a native GUI with system tray integration, auto-updater, and terminal launcher) and a headless server (with an embedded zero-dependency Web UI for management). The system manages API credentials via a token pool with automatic refresh and rate-limit tracking, stores usage statistics in SQLite, and supports backup/restore across local, WebDAV, and S3 providers. The architecture is modular: a core proxy layer handles request routing, authentication, and streaming; a transformer layer converts between API formats using a plug-in registry; a storage layer abstracts persistence behind adapters; and service modules provide endpoint management, statistics aggregation, and backup orchestration. The desktop frontend is a vanilla JavaScript SPA with extensive theming and i18n support, while the server Web UI is a separate but functionally parallel implementation. Key capabilities include: multi-endpoint failover with configurable retry and rotation strategies, real-time format conversion with thinking block and tool call mapping, Codex token pool credential management with automatic refresh and cooldown, usage statistics with daily/weekly/monthly trends and monthly archives, WebDAV-based multi-device configuration sync, and a comprehensive REST API for remote management. The codebase demonstrates strong engineering practices with contract tests, security-conscious redaction of secrets in logs and API responses, and thread-safe configuration management.
Molecule is a lightweight Web IDE UI framework inspired by VSCode, built with React and TypeScript. It provides a customizable Workbench UI with core components (MenuBar, ActivityBar, Sidebar, Editor, Panel, StatusBar) and an extension system for adding functionality via plugins. The architecture follows a service-based pattern with dependency injection (tsyringe), separating concerns into models (state), views (React components), and controllers (business logic). Key features include Monaco Editor integration, theming, internationalization, and keybinding systems. The framework is designed for embedding in React applications to create IDE-like interfaces, with extensibility points for contributing UI, commands, themes, and languages.
LunaVox is a high-performance, cross-platform text-to-speech inference engine specialized for Qwen3-TTS models. It provides a unified C++ core with Python bindings, offering multiple interfaces: a CLI (`lunavox`), a desktop GUI (customtkinter), an HTTP/WebSocket server (FastAPI), and a Python runtime API. The architecture separates model loading, tokenization, LLM-based talker/predictor generation (via llama.cpp), and neural audio codec decoding (via ONNX Runtime) into modular components. Voice modes include base, voice cloning from reference audio, custom speaker selection, and text-described voice design. The system is designed for low-latency streaming synthesis, with benchmarks showing real-time factors below 0.2 on consumer GPUs. It includes a comprehensive model conversion pipeline from HuggingFace to GGUF/ONNX formats, a build toolchain for compiling the C++ engine, and production-ready serving with Prometheus metrics and auto-batching. The codebase demonstrates strong engineering practices with cross-platform support, structured stats contracts, and bilingual documentation, though it carries some technical debt from vendored GGUF code and platform-specific workarounds.
This repository is a motion-graphics video production toolkit designed for AI coding assistants (Codex and Claude Code). It provides a structured pipeline for turning talking-head footage into edited videos with animated overlays, using HTML/CSS/JS compositions driven by GSAP timelines. The system includes reusable style libraries (Vox Explainer and Kallaway) with hundreds of parameterized card templates, transcription and cut-detection scripts, beat-planning heuristics, and project scaffolding. The architecture is a collection of standalone Node.js scripts, agent skill definitions, and HTML templates rather than a monolithic application. It relies on external services (ElevenLabs, Kie.ai, HyperFrames CLI) and CDN-hosted libraries (GSAP, Google Fonts). The repo is actively maintained with recent commits and a CI pipeline, though it exhibits some duplication between mirrored skill directories and draft-status cards that have not all been individually rendered.
This repository contains the extension ecosystem for SpotiFLAC, a mobile application that downloads high-quality music from streaming services. The extensions are JavaScript modules that run in a sandboxed environment (vm.createContext) and implement service-specific adapters for providers like Amazon Music, Tidal, Qobuz, Deezer, Apple Music, and YouTube Music. Each extension exposes hooks such as search, download, handleUrl, and checkAvailability, and communicates with the host app via injected APIs (registerExtension, utils, session). The architecture is a set of isolated adapters with a shared pattern of quality fallback chains, retry logic with exponential backoff, metadata matching (ISRC, title, artist), and signed session authentication via a proxy API (api.zarz.moe). The primary data flow begins when a user provides a track URL or search query. The extension resolves the track metadata, checks availability (often via ISRC lookup or direct API calls), selects the highest available audio quality (e.g., Dolby Atmos, Hi-Res, Lossless), and initiates a download using signed tickets. The download process includes retry modes (poll_existing, new_ticket) and respects rate limits. The repository also includes a build script (scripts/build_packages.py) that creates reproducible .sflx archives and updates a central registry.json with SHA-256 digests for versioning and distribution. Key entry points are the source files in sources/<provider>/index.js, which contain the core business logic, and the corresponding manifest.json files that declare capabilities and permissions. The test files in tests/ demonstrate a sandbox testing pattern where host interfaces are mocked, allowing unit testing of fallback and matching logic. The repository is actively maintained with a community contribution model via pull requests, and the extension format is designed for easy addition of new streaming services.
This is a self-contained tool for detecting third-party AI API model substitution by analyzing the statistical fingerprint of random number generation. The backend is a Python proxy server (http.server) that forwards requests to OpenAI/Anthropic endpoints, handles GitHub baseline retrieval with caching, and provides an auto-update mechanism. The frontend is a single HTML file with embedded JavaScript (no bundler) that handles all user interaction: calibration of official models, testing of unknown channels, quick one-click verification against pre-downloaded baselines, and multi-channel comparison. The tool uses cosine similarity and Jensen-Shannon divergence to compare distributions, with special handling for model-specific parameters (max_tokens vs max_completion_tokens). The code is functional and well-organized for a single-developer tool, but lacks modularity (everything in one HTML file, backend in one script) and has no test suite. The baseline data files are precomputed artifacts, not part of a live data pipeline.
CtxPort is a browser extension and companion documentation website that lets users copy AI conversations (from ChatGPT, Claude, Gemini, DeepSeek, Grok, Doubao, GitHub) as structured Markdown Context Bundles. It solves 'context rot' by enabling portable, lossless migration of conversations between AI tools without uploading data to third parties. The architecture is a modern monorepo using pnpm workspaces and Turborepo, with separate packages for schema validation (Zod), markdown serialization, plugin-based extraction, and shared UI components. The browser extension (Manifest V3, WXT, React 19, Tailwind CSS 4) injects copy buttons and sidebar list icons into supported platforms, while the documentation website (Next.js + Nextra) provides multilingual (en/zh) user guides and feature descriptions. All processing is client-side; no data is uploaded. The codebase demonstrates strong engineering practices including a plugin system for extensibility, a strategy pattern for content flatteners, clean separation of concerns, and comprehensive CI/CD pipelines. Some fragility exists in DOM selectors and platform APIs, but the architecture is well-structured for adaptation.
AutoSkill is a comprehensive framework for extracting, managing, and evolving reusable 'skills' from conversational logs and documents. It operates as a modular application with multiple entry points: a web UI for interactive chat, a CLI for batch processing, and an OpenAI-compatible proxy server that injects relevant skills into LLM context. The system employs LLM-driven and heuristic pipelines to extract skill candidates, deduplicate and merge them, and persist them in a skill store with vector and BM25 retrieval. It also includes a self-evolution subsystem (SkillEvo) that replays experiences, evaluates performance, and mutates skills for improvement. The codebase is hybrid, containing both application components (web server, proxy, libraries) and data/research pipelines (document ingestion, trajectory extraction), but the dominant character is an application SDK designed for integration with agentic workflows. Notable craftsmanship is seen in standalone utilities like a CJK-aware text unit counter, an AST-based prompt patcher, a persistent BM25 index, and a LibreOffice socket shim, though the repo also suffers from significant code duplication (e.g., identical validators across docx/pptx/xlsx) and a large surface area of environment variables and external dependencies.
This repository is a bit-exact decompilation of Touhou Koumakyou ~ the Embodiment of Scarlet Devil (TH06) for Windows, aiming to reconstruct the original executable from scratch using reverse engineering. It is primarily an applicationβa full game reimplementation with subsystems for graphics (Direct3D8), audio (DirectSound, MIDI), input (DirectInput), enemy scripting (ECL), sprite animations (ANM), replay recording, menu UI, and more. The build system uses MSVC 7.0 and DirectX 8.0 SDK, orchestrated by Python scripts and Ghidra for analysis and comparison. While the core purpose is binary-matching reconstruction, the project also functions as a research repository for understanding the game's internals, with extensive mapping data (CSV files) and Ghidra export scripts. The codebase is large, tightly coupled via global singletons, but contains several self-contained reusable components such as the Chain callback system, PBG3 archive parser, DirectSound wrapper, MIDI player, and a standalone PE file parser (pefile.py). Active development and CI indicate ongoing work to complete the decompilation.
This repository is a Python library and Claude Code plugin for generating McKinsey-style PowerPoint (PPTX) presentations. It provides ~40 slide templates (executive summaries, charts, matrices, org charts, roadmaps, etc.) with a consistent deep-navy/bright-blue design system. The core architecture is a builder pattern: `PresentationBuilder` accepts slide specs (as dicts or keyword arguments) and delegates to slide-specific drawing functions in the `slides/` subpackage. A CLI (`mckinsey_pptx.cli`) reads JSON specs and produces `.pptx` files. The Claude Code integration includes an agent definition (`mckinsey-slide-agent.md`) that reads a template catalog, plans a deck story arc, generates a Python build script, executes it, and optionally renders PNG previews via LibreOffice/Poppler. The code is well-structured with a clean separation of concerns: theme dataclasses, base primitives, slide templates, and a builder. The adaptive slide type inference (`infer_slide_type`) is a clever design pattern that allows the same API to accept loosely-typed payloads. The library is production-ready, with provenance from a real consulting tool (AX Labs).
This repository implements a comprehensive CLI tool and library for downloading content from Patreon. It supports posts, products, media (images, videos, audio, attachments), and metadata like campaign info, comments, and collections. The downloader uses cookie-based authentication to access patron-only content and handles various embedded media providers (YouTube, Vimeo, SproutVideo) via internal tasks or external downloader hooks. The architecture is event-driven and modular: a base Downloader class orchestrates fetchers, parsers, and download task batches, with typed entities and extensive configuration options (proxy, concurrency, file existence actions, naming formats). A built-in web server with a React frontend allows browsing downloaded content via a local SQLite database with full-text search. The code demonstrates strong engineering practices: class mixins for database and API layers, a task hierarchy with retry and abort support, a chainable logger abstraction, and a utility-heavy core that is largely decoupled from the Patreon-specific logic. However, the tight coupling to Patreon's undocumented API structure, lack of automated tests, and some deprecated options are notable weaknesses.
This repository is a curated dataset of NFC tag dumps (`.nfc` files) from Toniebox audio figures, organized by language (English, French, German) and character series. The primary purpose is to enable emulation of Tonie figures on Flipper Zero devices using the official firmware's SLIX-L chip support. The dataset includes over 850 dumps, each containing the full memory image of an ISO15693 SLIX tag (UID, data content, passwords). Supporting scripts provide validation (`validate_files.sh`), automated directory listing generation (`build_directories.sh`), and a GUI tool (`figures_name_tool.pyw`) that uses upstream metadata from `tonies-json` to help contributors correctly place new dumps. The repository is part of the Toniebox reverse-engineering ecosystem and relies on community contributions. While the codebase is minimal, the data is well-structured and validated through CI pipelines, making it a reliable resource for Flipper Zero users.
This repository is the full-stack implementation of Mega, a large-monorepo Git hosting and code collaboration platform with a Rust backend and a large React/Next.js frontend. The backend is split into several crates: mono provides the HTTP/SSH API server, ceres contains application services for Git operations, change lists (CLs), code review, build triggers, webhooks and notifications, jupiter handles persistence through SeaORM entities and storage services, jupiter-migrate manages a large sequence of database migrations, and orion/orion-server implement a Buck2-based distributed build orchestration system. The frontend in moon/apps/web is a feature-rich collaboration application with posts, notes, chat, notifications, project management, diff viewing, CL/merge-queue review, admin groups, OAuth integrations, and editor support. The core operational flow is: git push/import -> ceres transport and jupiter storage -> change list and merge-queue workflows -> build triggers sent to Orion -> build events/checks streamed back to the UI.
This repository is a Home Assistant custom integration for communicating with Solarman Stick Loggers to monitor and control solar inverters. It uses Modbus TCP/RTU to read/write inverter registers, exposing the data as Home Assistant entities (sensors, switches, etc.). The integration includes a device discovery mechanism via UDP broadcast, a configuration flow for setup, and a coordinator for periodic data updates. It also provides services for arbitrary Modbus register operations. The inverter definitions are stored in YAML files that specify the register mappings and sensor configurations for various inverter models.
This repository is a curated list of resources for embedded systems vulnerability research, not a software application or data pipeline. It aggregates books, blog posts, conference talks, papers, tools, and other references organized by category (e.g., Books, YouTube channels, Blogs, Papers, Tools). The primary content is a single README.md file containing over 200 links and brief descriptions. Additionally, the papers/ directory holds a few PDF files of research papers and a secondary README listing paper titles with links. The repo serves as a knowledge base for anyone interested in IoT/embedded security, providing a starting point for learning and staying current. There is no executable code, no data transformation logic, and no analytical models. The value lies in the curation and organization of external resources, not in any original software or data processing.
This is a Claude Code plugin that enables scheduling recurring and one-time tasks using native OS schedulers (launchd on macOS, crontab on Linux, Task Scheduler on Windows). Users describe tasks in natural language (e.g., 'every weekday at 9am review yesterday's code'), and the plugin converts that to cron expressions, registers the task with the OS scheduler, and executes `claude -p "prompt"` at the scheduled time. It supports autonomous execution with `--dangerously-skip-permissions`, git worktree isolation for tasks that modify code (creates a branch, runs Claude, commits and pushes changes), and provides commands to list, remove, run, and view logs of scheduled tasks. The architecture is modular: platform-specific scheduler implementations inherit from a base class, cron parsing and humanization are separate utilities, and execution history is stored as JSONL files. The codebase demonstrates strong security awareness with shell escaping, input validation via Zod schemas, and careful handling of user-provided values in generated shell scripts.
This repository implements a GitHub Action (`actions/ai-inference`) that runs AI model inference inside GitHub Actions workflows by shelling out to the GitHub Copilot CLI. The action accepts a user prompt (inline or from a file), an optional system prompt, a model identifier, and various configuration options. It builds a combined prompt string, spawns the Copilot CLI with `-p`, `-s`, and `--no-ask-user` flags, captures the model's text response, and exposes it via `response` and `response-file` outputs. The architecture is a single Node.js action (bundled into `dist/index.js`) with modular TypeScript source files: `main.ts` orchestrates input parsing and provider dispatch, `copilot.ts` handles CLI invocation and error handling, `prompt.ts` provides structured `.prompt.yml` file parsing with template variable substitution, and `helpers.ts` contains utility functions. The action is tightly coupled to the Copilot CLI, which must be pre-installed and authenticated on the runner. It supports only the `copilot` provider. The codebase is well-structured, includes unit tests, and follows modern TypeScript practices.
CF-Clearance-Scraper is a Python CLI tool designed to solve Cloudflare challenges (JavaScript, managed, and interactive) and extract the cf_clearance cookie for bypassing anti-bot protections. The application uses Zendriver for headless browser automation, dynamically generates realistic Chrome user agents, handles proxy authentication via CDP events, and provides output formats including raw cookies, cURL/Wget/aria2 commands, or JSON storage. The architecture is monolithic with a single entry point (main.py) featuring clean separation of concerns: argument parsing, browser orchestration, challenge detection/solving, and output formatting. Key strengths include robust user agent fallback mechanics and proxy handling, though the Cloudflare-solving logic is tightly coupled to Zendriver and challenge-specific heuristics.