7 个仓库
Capabilities to determine if a system is running in a container, a specific init system, or a CI environment.
Distinguishing note: No candidates provide runtime environment detection; existing ones are unrelated AI or business features.
Explore 7 awesome GitHub repositories matching operating systems & systems programming · Runtime Environment Detection. Refine with filters or upvote what's useful.
This project provides utilities for detecting continuous integration environments and wrapping test execution to conditionally ignore errors. Its primary purpose is to prevent test failures from blocking build pipelines by identifying the runtime context and adjusting test behavior. The software maintains automated build stability by intercepting test results and manipulating the internal state of the testing framework. This mechanism allows the project to force a passing status and bypass failing assertions when specific environment flags are detected. The toolset covers CI pipeline managem
Provides capabilities to detect if the current runtime context is a continuous integration environment.
Chef is a configuration management platform and infrastructure as code framework used to automate the deployment and maintenance of infrastructure state across a fleet of servers. It operates as an idempotent automation engine, ensuring systems converge to a desired state by applying only the necessary changes to resolve differences. The system functions as a multi-platform server orchestrator capable of managing infrastructure across different operating systems, cloud providers, and hardware architectures. It includes a dedicated infrastructure testing framework to verify configuration code
Determines if a node is operating within a container, using a specific init system, or in a CI environment.
This is an ANSI terminal color library and console output manager used for applying colors and text attributes to command line interface output. It functions as a terminal text styler and RGB color formatter, generating the escape codes necessary for foreground and background styling. The project supports 24-bit high-color RGB mapping for precise color rendering in compatible terminal emulators. It enables the creation of colorized text fragments that can be embedded into larger blocks of text or applied as global styles that persist across subsequent output streams. The library covers broad
Determines color output based on terminal detection and environment variable flags during runtime.
LinEnum is a suite of security utilities for auditing Linux systems, scanning for privilege escalation paths, and enumerating local vulnerabilities. It functions as a system security audit tool, a local enumeration utility, and a scanner for identifying misconfigurations that could allow a user to gain root access. The project includes specialized auditing for containerized environments, specifically detecting Docker and LXC signatures to identify potential escape vectors to the host system. Its broader capabilities cover the analysis of kernel versions, the identification of SUID binaries a
Checks system indicators to determine if the environment is running inside Docker or LXC containers.
This project is a PHP environment abstraction layer and runtime detection library. It functions as a logic router designed to identify the active execution engine and trigger specific code paths based on the runtime environment. The library enables cross-engine PHP development by routing application logic through different branches and managing behaviors depending on the detected context. This allows for the implementation of environment-specific configurations and conditional execution logic to ensure compatibility across various setups. The system covers runtime detection, execution path m
Identifies the active PHP execution engine to trigger environment-specific code paths.
This is a cross-platform mobile device information library for iOS and Android applications. It provides utilities to retrieve hardware specifications, operating system details, and unique device identifiers. The project specializes in unique device identification by providing hardware, software, and installation IDs, serial numbers, and build fingerprints. It also includes environment detection to distinguish between physical devices, emulators, and tablets. The library covers a broad range of system introspection capabilities, including application metadata retrieval, hardware specificatio
Determines if the application is running on a physical device, an emulator, or a tablet.
该项目是一个用于跨平台守护进程编排的 Go 库和工具包。它提供了一个统一的接口,用于在 Windows、macOS 和各种 Linux 发行版等多个操作系统上注册和管理 Go 程序作为后台服务。 该工具包充当多平台初始化管理器,与 systemd、OpenRC 和 launchd 进行交互。它自动化了后台进程的生命周期,提供安装、卸载、启动、停止和重启应用程序的功能。 除了服务管理外,该库还包含环境检测工具,用于识别进程是在交互式终端、容器中还是作为系统服务运行。它还具有系统日志桥接功能,可根据宿主操作系统将应用程序输出路由到 Unix syslog 或 Windows 事件日志等原生设施。
Inspects environment variables and system files to detect if the program is running in a container or terminal.