This repository implements a Qt-based C++ library for sending emails via SMTP with full MIME support. The library provides asynchronous and synchronous operation modes, TLS/SSL encryption, SMTP authentication (PLAIN and LOGIN), and support for complex email content including plain text, HTML, attachments, and inline files. The architecture follows a modular design separating concerns into distinct components: email address handling, MIME message construction, and SMTP protocol handling. The core components include SmtpClient for managing SMTP connections and protocol state, MimeMessage for constructing email messages with multiple parts, and a hierarchy of MIME part classes (MimeText, MimeHtml, MimeAttachment, etc.) for different content types. The library uses Qt's networking module for socket communication and implements a state machine to handle the SMTP protocol flow. Data flows involve constructing a MIME message with desired content, configuring the SMTP client with server details, establishing connection, authenticating if required, sending the message, and properly closing the connection. The library demonstrates proper encapsulation, error handling, and adherence to SMTP and MIME standards. It depends only on Qt Core and Qt Network modules, making it relatively lightweight for a feature-rich email solution. The implementation includes robust handling of character encodings, MIME formatting, and transfer encoding (Base64 and Quoted-Printable) as required by email standards.
This repository provides a Docker Compose-based setup for running WordPress, designed for both local development and production environments. It orchestrates MySQL and WordPress services with optional WP-CLI access, using environment variables for configuration and named volumes for persistent storage. The production configuration includes resource limits, restart policies, and integration with reverse proxy networks (via VIRTUAL_HOST/LETSENCRYPT variables) for HTTPS support. Key components include environment-specific compose files (docker-compose.yml for production, docker-compose-local.yml for local dev), helper scripts for backup/restore/setup, and WP-CLI wrappers. The setup follows Docker best practices: separating concerns via networks, using volumes for data persistence, and leveraging environment-specific configuration. While not innovative, it implements a solid, maintainable pattern for deploying WordPress with Docker. The codebase demonstrates basic but correct usage of Docker Compose features, with clear separation between local and production configurations. Helper scripts automate common tasks like database dumps and file backups/restores using Docker exec and cp commands. There's no evidence of technical debt or outdated practices; the configuration aligns with current Docker and WordPress ecosystem standards.
This repository contains FlipView, an Android library that extends ViewFlipper to provide animated view flipping capabilities similar to Gmail's swipe actions. The core component is a custom ViewGroup that manages front and rear views with configurable animations, layouts, and images. It supports auto-flipping at intervals, user-triggered flips, initial cascade animations for multiple views, and SVG image support. The library includes sophisticated animation coordination to avoid visual glitches and provides extensive customization through XML attributes. A sample application demonstrates usage in various configurations including RecyclerView integration.
The kotlin-playground repository provides a self-contained web component for embedding interactive Kotlin code editors in websites. It enables users to write, run, and see the output of Kotlin snippets directly in browser environments, supporting multiple target platforms (JVM, JavaScript, WebAssembly, Native) via communication with the Kotlin compiler service. The architecture follows a modular client-side design with clear separation between UI components (CodeMirror-based editor), execution logic, and API communication. Key features include automatic initialization via HTML attributes, configurable themes and compiler versions, extension points for custom event handlers, and iframe-based sandboxing for secure code execution. While dependent on the external kotlinlang.org compiler service, the frontend implementation demonstrates solid engineering practices with reusable patterns for API abstraction, configuration management, and platform-specific execution handling.
Apache Commons Codec is a mature Java library providing a comprehensive set of encoders and decoders for binary-to-text formats (Base16, Base32, Base64, Base45, Base58, Hex), digest and hash algorithms (MD5, SHA-1/2/3, MurmurHash, XXHash32, Blake3, CRC16/32), phonetic encoding (Soundex, Metaphone, Caverphone, Beider-Morse, Daitch-Mokotoff), and network codecs (URL encoding, Quoted-Printable, RFC 1522 MIME). The architecture is modular with clear package separation: `binary`, `digest`, `language`, `net`, and `cli`. Key design patterns include a builder pattern for configuring codecs (e.g., `Base64.builder()`), an abstract base class `BaseNCodec` with streaming support via `BaseNCodecInputStream`/`OutputStream`, and a `CodecPolicy` enum for strict vs. lenient decoding. The library has no production dependencies; only test dependencies on commons-lang3 and commons-io. It is widely used across the Java ecosystem, with extensive test coverage including RFC vectors and backward compatibility tests. However, some deprecated methods and known bugs (e.g., in MurmurHash3 legacy methods) are preserved for compatibility, and certain algorithms (SHAKE) require Java 25, introducing version drift.
Ruplacer is a command-line tool written in Rust for finding and replacing text in files. It supports literal string, regex, and case-preserving replacements, and provides a diff-like output of changes. The tool respects .gitignore, allows filtering by file type, and can operate in a dry-run mode. The architecture is modular, with separate modules for argument parsing, console output, directory traversal, file processing, and the core replacement logic. The replacement logic is particularly notable for its use of the strategy pattern to handle different matching algorithms in a uniform way.
SILENTCHAIN AIβ’ Community Edition is a Burp Suite extension that performs AI-powered passive vulnerability scanning of HTTP traffic. It intercepts requests/responses through Burp's proxy, sends them to configurable AI providers (Burp AI, Ollama, OpenAI, Claude, Gemini, Azure), and generates OWASP Top 10 vulnerability findings. The extension features a modular architecture with a thread pool for background AI processing, Swing-based UI integrated into Burp Suite, and persistence for settings via Burp's preferences API. Key capabilities include bidirectional data sanitization to prevent leaking secrets to AI providers, robust JSON parsing for handling LLM output inconsistencies, layered HTTP filtering (scope, content-type, rate limiting, URL deduplication), and real-time UI updates showing findings, task status, and statistics.
This repository provides an agent skill for attaching before/after screenshots and screen recordings to GitHub pull request descriptions. The core product is `skill/SKILL.md`, which instructs AI agents (like Claude Code) on a workflow: capture media using `agent-browser`, format them with the bundled zero-dependency script `skill/scripts/format.mjs`, and publish via `gh --attach`. The formatter generates deterministic markdown tables with image or video comparisons, and performs idempotent replacement of a marked block (`<!-- before-and-after:start/end -->`) in PR bodies, preserving all unrelated prose. The repository also includes a comprehensive verification suite (unit tests, local browser smoke, live GitHub smoke, and an agent smoke test) and a Next.js landing page at `site/`. The architecture is minimal: one dependency-free script, one skill document, and verification infrastructure. It does not wrap browser automation, capture, or media hostingβthose are delegated to `agent-browser` and GitHub CLI.
This repository implements a fully autonomous pipeline that generates, produces, and uploads educational YouTube videos daily. It uses the Gemini 2.5 Flash API to create lesson scripts and curricula, gTTS for narration, Pexels for background imagery, and MoviePy/Pillow for video rendering. The pipeline runs on a GitHub Actions cron schedule, requiring no manual intervention. It produces both a long-form lesson video and a YouTube Short, uploads them with custom thumbnails, and updates the content plan repository. The code is well-structured for its purpose, with proper error handling, retry logic for TTS rate limits, and credential management for YouTube OAuth. While not a reusable library, it demonstrates good software engineering practices for a CI/CD-based content generation system.
This repository is an AI-powered stock research platform that combines a full-stack application (FastAPI backend, React/TypeScript frontend, Electron desktop app) with extensive data/research capabilities. It ingests market data from over a dozen providers (Tushare, yfinance, AkShare, etc.) with priority-based fallback chains, performs AI analysis via LiteLLM (supporting multiple LLM providers), and generates structured research reports, decision signals, and backtesting results. The platform supports multi-agent discussions, strategy screening, portfolio management, alerts, and multi-channel notifications (WeChat, Feishu, Telegram, email, etc.). It covers 13 international markets with trading calendars and market phase detection. The architecture is a monolith with modular services, using SQLite per-workspace isolation. While primarily an application, it has strong data/research characteristics including a screening engine derived from AlphaSift, decision signal lifecycle with outcome tracking, and skill opinion weight calibration. The codebase is well-structured with extensive tests, CI/CD, and reusable patterns like the data fetcher base class and notification sender template.
BiliReveal is a browser user script that enhances Bilibili's web interface by displaying IP location information in comment sections. The script detects which comment system is in use (Vue 2, Vue 3, or Lit-based web components) and hooks into the appropriate rendering mechanism to inject IP data fetched from Bilibili's APIs. It features a modular architecture with URL-based routing, separate injection strategies for different comment systems, and user-configurable text replacement rules. The project is actively maintained with recent updates, comprehensive end-to-end tests using Playwright, and a modern build setup using Vite and vite-plugin-monkey to generate both standard and Lite versions of the user script.
llm-bridge is a TypeScript library that provides a universal translation layer between major LLM provider APIs: OpenAI Chat Completions, OpenAI Responses API, Anthropic Claude, and Google Gemini. It defines a canonical 'universal' intermediate format that captures all provider-specific fields (including an `_original` payload for perfect round-trip reconstruction), and offers bidirectional converters (`toUniversal`/`fromUniversal`) for each provider. The library also includes streaming support with provider-specific SSE parsers and emitters, error normalization with classification helpers, tool calling lifecycle utilities, and a request handler that can inject context via an `editFunction` callbackβmaking it ideal for building proxies, middleware, load balancers, and cost optimizers. Architecturally, the codebase is well-organized into modules for models (format conversion), streaming (parsing/emitting), errors (normalization), helpers (type guards, reconstruction quality), and tools (continuation, extraction). The core pattern is a superset universal type that holds all possible fields, with converters that first attempt to use the original provider payload for lossless reconstruction before falling back to field-by-field translation. This design ensures high fidelity even when translating between providers with different capabilities (e.g., Anthropic's extended thinking blocks preserved through OpenAI conversion). The library is published as an npm package (MIT license) with dual CJS/ESM builds, includes over 300 unit tests covering round-trip conversion, streaming, error handling, and critical edge cases, and is used in production at supermemory.ai. While the code demonstrates strong engineering craftsmanship, it has some risks: heavy use of `any` type assertions in converters, tight coupling to provider SDK types (which may drift), an unpinned remote URL for token pricing, and no end-to-end integration tests with real API keys. Overall, it is a solid, reusable library for any project needing cross-provider LLM interoperability.
This repository provides an initramfs overlay for Alpine Linux that enables headless bootstrapping on systems without keyboard or display. The primary mechanism is a self-contained shell script (`headless_bootstrap`) executed during early boot, which automatically configures networking (Ethernet, WiFi, USB gadget), starts a temporary SSH server with pre-generated keys, and optionally triggers an unattended installation script. It supports USB gadget mode, version checking with auto-update, and a variety of customization via external files. The architecture is a collection of carefully crafted OpenRC service files, shell scripts, and configuration examples, packaged as an `apkovl.tar.gz` overlay. This is not a typical application but a system utility designed to solve a specific provisioning problem: remotely installing Alpine Linux on headless devices.
This repository is a toolkit for creating and publishing WeChat Official Account articles. It consists of four main tools: WeChat Article Formatter (converts Markdown to WeChat-compatible HTML with themes), WeChat Draft Publisher (publishes articles to WeChat draft accounts with token management and image upload), WeChat Tech Writer (AI-assisted technical writing), and WeChat Product Manager Writer (AI writing from a product perspective). The system takes Markdown content, formats it for WeChat's specific constraints, and publishes it to WeChat Official Accounts. The architecture is modular with each tool as a separate skill containing its own scripts, templates, and documentation.
HomePlate is embedded firmware for Soldered Inkplate e-paper displays, turning them into wall-mountable smart dashboards. It connects via WiFi to Home Assistant (through MQTT and screenshots) or TRMNL to display content such as Home Assistant dashboards, TRMNL screens, custom images, QR codes, and text messages. The firmware is built on PlatformIO with FreeRTOS, supporting deep sleep for battery life, OTA updates, and a captive portal web configurator. It uses MQTT for Home Assistant discovery, exposing sensors (WiFi RSSI, battery, temperature) and config entities. The architecture is activity-driven: an activity queue dispatches display modes (HomeAssistant, Trmnl, Info, etc.) triggered by MQTT, timers, or physical buttons. Power management is a core focus, with configurable sleep schedules, a wakelock system for critical operations, and always-on mode. The codebase is well-organized, includes unit tests, and has reusable components like a buffer stream wrapper and sleep scheduling logic. It is actively maintained with CI/CD, releases, and a web installer.
NoWakeLock is a production-grade Android Xposed module and companion app that provides granular control over system power management. It intercepts and selectively blocks or limits WakeLocks, Alarms, and Services at the Android framework level via Xposed hooks, enabling users to reduce battery drain. The system consists of two processes: an Xposed module running in the system_server process that performs the actual interception using both legacy (XposedBridge) and modern (libxposed API 102) APIs, and a standard Android application with a Jetpack Compose UI that allows users to configure per-app and per-item blocking rules, view real-time statistics, and manage settings. Data flows from the Xposed hooks through a ContentProvider-based IPC (XProvider) into a dual Room database architecture (AppDatabase for configuration, InfoDatabase for runtime events). The app features Material Design 3, multi-language support, backup/restore via JSON, multi-user profiles, module health diagnostics, and hot reload support for modern Xposed frameworks. The codebase demonstrates a clean MVVM architecture with Koin dependency injection, Kotlin Coroutines/Flow for reactive data flow, and comprehensive unit/instrumentation tests. While primarily a standalone application, several core concurrency utilities (BoundedEventQueue, ReloadableEventConsumer, WakelockRegistry) could be extracted and reused in other Android or system-level projects.
Gauge Card Pro is a Home Assistant Lovelace custom card that renders highly customizable gauge visualizations. It extends the native HA Gauge card with dual gauge layers (main and inner), gradient and severity modes, climate control features (HVAC, fan, swing, preset, temperature), template support, and a full visual editor. The card is built as a Lit web component and integrates deeply with Home Assistant's frontend, using internalized copies of HA and Mushroom dependencies for actions, entities, translations, and forms. Key entry points are `src/card/card.ts` (main card class) and `src/editor/editor.ts` (visual editor). Data flows from user configuration (YAML or UI) combined with HA entity state to compute gauge angles, gradient strings, indicators, and value displays. The system relies on external libraries like Lit, tinygradient, superstruct, and zod, and is distributed as a HACS plugin.
This repository provides the data pipeline for the Sekai dataset, a large-scale egocentric video dataset for world exploration and generation research. It contains two main toolchains: dataset_downloading (extracting YouTube URLs from CSV annotations and downloading videos via yt-dlp) and clip_extracting (a multi-step GPU-accelerated pipeline to split raw videos into annotated clips, transcode them to H.265, and remux with audio). The pipeline is designed for the Sekai-Real subset and requires NVIDIA GPUs with NVENC support, CUDA 11.8, and specific Python dependencies. The code is well-structured with clear separation of steps, logging, and multiprocessing support. While tightly coupled to the Sekai dataset and hardware requirements, the utility modules for GPU video decoding/encoding and frame sampling are reusable in other video processing projects.
This is a monorepo housing `create-uni`, a CLI scaffolding tool for quickly generating `uni-app` projects. `uni-app` is a cross-platform framework based on Vue, allowing development for iOS, Android, Web, and various mini-programs. The CLI supports interactive prompts (via `@clack/prompts`), command-line flags, a native desktop GUI (via a Rust `napi-rs` addon encapsulating `wry`), and an MCP (Model Context Protocol) server for AI-assisted project creation. The core package (`packages/core`) handles template rendering using EJS with a callback-driven data injection pattern, while `packages/config` provides the option catalogues. The GUI package combines a Rust webview with a Preact/TypeScript UI (built with shadcn/ui). The MCP package exposes two tools (`create-with-template`, `create-custom`) with Zod schemas auto-derived from config data. The project demonstrates strong architectural separation, modern tooling, and a novel integration of a native GUI into a Node.js CLI. Though tightly focused on the uni-app ecosystem, several internal patterns (template rendering, object merging, directory traversal, MCP server setup) are cleanly implemented and potentially reusable.
SudachiDict is a repository that provides linguistic data resources for the Sudachi Japanese tokenizer. It processes raw dictionary CSV files (sourced from UniDic and NEologd) into binary dictionary files in three editions: Small (UniDic only), Core (basic vocabulary), and Full (includes proper nouns). The repository includes automated build scripts to compile these dictionaries, packaging utilities to distribute them as Java/Maven artifacts and Python packages, and test suites to verify correctness. While it contains some application-like elements (build scripts, packaging), its primary function is data curation and distribution for NLP use cases.