22 مستودعات
Architectural patterns where application state is updated by periodically querying peripheral device status.
Distinct from Long-Polling Queries: None of the candidates cover the specific frame-based polling pattern used in game loops.
Explore 22 awesome GitHub repositories matching software engineering & architecture · Polling-Based Input Models. Refine with filters or upvote what's useful.
Ebiten is a cross-platform 2D game engine and framework for the Go programming language. It provides a hardware-accelerated 2D renderer and a multi-input handling library to develop two-dimensional games with a single codebase. The engine is designed for broad deployment, allowing applications to be compiled and run across desktops, mobile devices, web browsers, and gaming consoles. It distinguishes itself by integrating custom shader programming for specialized visual effects and providing haptic feedback control for mobile devices and gamepads. The framework covers core game development ca
Employs a polling-based input system that queries peripheral devices at the start of every frame.
mi-gpt is a voice assistant bridge and agent orchestrator that connects smart speakers to large language models. It functions as an integration layer that routes audio requests from hardware speakers to AI providers and converts generated text back into speech via a customizable synthesis system. The project features a retrieval-augmented generation knowledge base that uses embeddings and external documents to provide context-aware responses. It includes a persona definition system for configuring behavioral rules, system prompts, and roleplay characteristics, alongside a plugin architecture
Periodically queries device conversation lists to capture user voice inputs for processing.
KEDA is a Kubernetes event-driven autoscaler and cloud event scaling engine. It functions as a custom metrics provider that monitors external event sources—including message brokers, databases, and cloud metrics—to dynamically adjust the replica counts of containerized workloads. The project is distinguished by its scale-to-zero workflow, which reduces workloads to zero replicas during inactivity and automatically restarts them when new events are detected. It operates as a multi-cloud event trigger system, using a pluggable scaler interface to integrate with a wide array of third-party servi
Sets the frequency for checking trigger sources to balance responsiveness with API load.
OctoPrint is a web-based control panel and Python-based hardware server for managing 3D printers. It functions as a G-code remote controller that sends commands to printer firmware over a persistent USB serial connection, allowing users to operate hardware and monitor print jobs through a browser. The project is an extensible hardware management platform that utilizes a plugin-based system. This architecture enables the addition of third-party functionality and custom extensions to modify core behavior and expand the system's remote control capabilities. The platform covers remote printer ma
Uses periodic polling of the hardware status to update the client interface.
This repository is a comprehensive collection of functional 2D and 3D demo projects and implementation samples for the Godot Game Engine. It serves as an interactive tutorial and reference library, providing a working codebase to demonstrate how to apply engine features in real-world scenarios. The collection focuses on practical implementation guides, covering a wide array of technical capabilities from basic engine fundamentals to advanced rendering and scripting techniques. It allows users to study the application of node-based composition, asset pipelines, and game logic through direct ex
Provides examples of querying input states every frame to execute continuous logic while keys are held.
Watchdog is a Python library and set of shell utilities for monitoring filesystem events. It provides a framework for tracking real-time changes to files and directories, mapping those events to configurable automation handlers, and executing system actions based on file creation, modification, or deletion. The project includes an event-driven shell utility for triggering custom scripts and commands automatically. It utilizes a configurable handler framework that allows users to associate specific filesystem events with specialized plugin logic defined in configuration files. The system moni
Provides a polling-based fallback mechanism that checks file timestamps to detect changes when OS events are unavailable.
Battery is a command-line and graphical utility for macOS that manages battery charging behavior to prolong battery lifespan. It functions as a charge limiter, allowing users to set a maximum charge threshold—typically 80%—and maintain that limit across reboots and even when the application is closed. The tool also includes a battery sensor calibration feature that discharges the battery to a low level and then fully recharges it to restore accurate capacity reporting. The project distinguishes itself by offering both a CLI and a GUI for controlling charging behavior, supporting custom percen
Periodically reads battery percentage from the sysfs filesystem to detect charge level changes.
TensorFlow Serving is a high-performance machine learning inference server designed to deploy TensorFlow models to production environments. It functions as a complete serving system that executes predictions on input data through a graph executor, providing network endpoints that eliminate the need for a separate runtime environment for client applications. The system is distinguished by its model version manager, which organizes and selects specific model versions within a directory hierarchy. It uses a filesystem watcher to detect new model versions and trigger automatic updates without int
Automatically detects new model versions in the filesystem to trigger updates without interrupting live traffic.
This project is a Nintendo Entertainment System emulator written in Go. It functions as a hardware simulation that executes game ROMs by mimicking the original console's circuitry, including the processor and picture processing unit. The emulator includes a game library browser that identifies local files and retrieves titles and thumbnails from online databases using file checksums. It also implements a system of memory management mappers to ensure compatibility across various game ROM formats and hardware configurations. The software covers high-level capabilities for game ROM execution an
Queries input device states synchronized with the application's update loop for real-time interaction.
Gitify is a cross-platform desktop application for monitoring GitHub alerts and activity through a native system tray or menu bar interface. It functions as a specialized API client that connects to both GitHub cloud and GitHub Enterprise servers on macOS, Windows, and Linux. The application manages multiple GitHub accounts and servers simultaneously from a single interface. It focuses on reducing notification noise by allowing users to filter alerts and prioritize important updates, moving monitoring away from the web browser. Users can customize alert behaviors through visual themes, nativ
Periodically queries GitHub APIs at set intervals to retrieve the latest notification updates.
freegeoip هي خدمة تحديد الموقع الجغرافي ذاتية الاستضافة وخادم API يقوم بربط عناوين IP وأسماء المضيفين بالمواقع الجغرافية. تعمل كقارئ لقاعدة بيانات MaxMind، حيث تحلل قواعد بيانات الموقع الجغرافي الثنائية لتوفير بيانات الموقع من خلال واجهة REST. يتميز المشروع بتوفير بديل خاص لمزودي تحديد الموقع الجغرافي السحابي، وإدارة ملفات قاعدة البيانات المحلية وأتمتة التحديثات الدورية. يتضمن محلل IP للوكيل العكسي لاستخراج عناوين العميل الأصلية من رؤوس الوكيل، مما يضمن تعيينًا دقيقًا خلف موازنات الحمل. تدمج الخدمة نظامًا لإدارة الحصص لفرض حدود الطلبات لكل عميل وتأمين نقاط النهاية الخاصة بها باستخدام تشفير TLS وسياسات CORS. كما تتميز بمزامنة تلقائية لقاعدة البيانات مع التحقق من الإصدار القائم على المجموع الاختباري (checksum) وواجهة ويب عامة اختيارية لإجراء عمليات البحث.
Monitors the local filesystem to automatically reload geolocation data files without interrupting server operation.
acme-tiny is a minimal ACME client implemented as a single-file Python script that automates obtaining and renewing SSL/TLS certificates from a Certificate Authority using the Automated Certificate Management Environment (ACME) protocol. It relies on OpenSSL command-line tools for key generation and certificate signing request creation, and uses file-based HTTP validation to verify domain ownership by placing a token file on the web server. Designed for fully automated certificate lifecycle management, acme-tiny is intended to be executed periodically by a system scheduler like cron, checking
Polls the ACME server until all domain validation challenges are completed.
Grequests هو عميل HTTP غير متزامن ومغلف (wrapper) لمكتبة Requests يستخدم Gevent coroutines لتنفيذ طلبات شبكة متعددة في وقت واحد. يستخدم مجمع اتصالات غير حاصر (non-blocking connection pool) لإدارة الطلبات الصادرة المتزامنة وتحسين الإنتاجية مقارنة بالتنفيذ التسلسلي. تتميز المكتبة بمولد استجابة غير متزامن يعيد استجابات HTTP فور اكتمالها، بدلاً من انتظار اكتمال الدفعة بأكملها. يوفر آلية لتحديد عدد الاتصالات النشطة لإدارة استهلاك الموارد ومنع تحميل خوادم الوجهة بشكل زائد. يغطي المشروع إمكانيات إدارة طلبات الدفعات، وكشط البيانات (web scraping) عالي الحجم، واستطلاع API المتزامن. يتضمن دعماً لبث أجسام الاستجابة الكبيرة للحفاظ على استخدام منخفض للذاكرة، ويدير مهلات الشبكة وأخطاء الاتصال عن طريق حقن حالات الخطأ مرة أخرى في قائمة الاستجابة.
Fetches data from multiple API endpoints simultaneously with connection limits to avoid rate limits.
Grequests هو مجمع طلبات HTTP غير متزامن ومكتبة عميل تعتمد على Gevent تُستخدم لتنفيذ مجموعات كبيرة من طلبات الشبكة في وقت واحد. يعمل كمغلف طلبات متزامن لمكتبة Requests، مما يتيح عمليات غير حاصرة لتقليل الوقت الإجمالي المستغرق في انتظار استجابات الخادم. يوفر المشروع نموذج تنفيذ يعتمد على مجمع المهام (task-pool) للتعامل مع عمليات الشبكة المجمعة، مثل كشط الويب عالي الإنتاجية واستطلاع API. يمكنه بث الاستجابات فور وصولها عبر مولد، مما يسمح بمعالجة البيانات فوراً دون انتظار اكتمال الدفعة بأكملها. تغطي المكتبة مجالات واسعة من الإمكانيات بما في ذلك إدارة طلبات HTTP المتزامنة والتعامل مع استثناءات الطلبات أثناء التنفيذ المجمع.
Enables simultaneous fetching of data from multiple API endpoints to reduce total server wait time.
Xiaomi-cloud-tokens-extractor هي أداة مصممة لاسترداد رموز المصادقة ومفاتيح التشفير للأجهزة المرتبطة بحساب سحابة Xiaomi. تعمل كواجهة لتسجيل الدخول إلى الخدمات السحابية عبر بيانات الاعتماد أو رموز QR لتصدير بيانات الاعتماد الأمنية برمجياً لأجهزة IoT. يمكن المشروع تحديداً من استخراج مفاتيح أمان Bluetooth Low Energy، مما يسمح باتصال محلي آمن مع الأجهزة دون الاعتماد على السحابة. تسهل هذه الرموز والمفاتيح المستخرجة دمج الأجهزة المرتبطة بالسحابة في برمجيات الطرف الثالث ومنصات الأتمتة المنزلية المحلية. تتعامل الأداة مع مصادقة حساب السحابة وإدارة الجلسة باستخدام OAuth2 واستطلاع REST API. تعالج بيانات استجابة السحابة لربط معرفات الأجهزة برموز الأمان ومفاتيح التشفير المقابلة لها.
Retrieves device metadata and security tokens by making sequential requests to cloud service endpoints.
Siren هي أداة لإدارة تحديثات التطبيقات تحدد إصدارات متجر التطبيقات المتاحة وتطالب المستخدمين بترقية تثبيتاتهم. تستخدم الإصدار الدلالي (semantic versioning) لمقارنة الإصدار المثبت بإصدار المتجر وتتكامل مع واجهات برمجة تطبيقات المتجر لجلب أحدث البيانات الوصفية. تدير الأداة تجربة التحديث من خلال تنفيذ التحديثات الإجبارية، واقتراحات التحديث الاختيارية، والإصدارات المرحلية التي تؤجل الإشعارات لعدد معين من الأيام. تتضمن أداة للتحقق من توافق نظام التشغيل لمنع ظهور مطالبات التحديث إذا كان الجهاز لا يلبي الحد الأدنى من متطلبات الإصدار الجديد. يوفر النظام واجهات تنبيه مترجمة تربط رسائل التحديث بلغة الجهاز أو لغة محددة. كما يوجه سلوكيات واجهة المستخدم بناءً على ما إذا كان التحديث محدداً كإجباري أو اختياري.
Queries official app store APIs to retrieve the latest version and minimum OS requirements.
libfreenect is a driver implementation for integrating Kinect sensors with a computer to capture depth images, audio, and accelerometer readings across various operating systems. It provides a hardware-abstracted API to manage the connection between the sensor hardware and the host system. The project enables the capture of sensor data and the control of internal device hardware, such as motors and LED indicators. It also includes tools for recording and replaying sensor data streams to local files, allowing for offline analysis and testing without a physical device. The library handles 3D d
Reads incoming depth and color data frames at fixed intervals to maintain a constant frame rate.
This project is a home automation mobile client and smart home controller for Android devices. It serves as an interface to connect to a central automation server for monitoring sensor data, managing connected household hardware, and triggering scripts. The application integrates native Android system features to act as a device integration tool, exposing system sensors, location data, and battery status to the automation server. It also provides a mobile home dashboard with visual interface personalization and custom themes to prioritize specific device controls. The system supports remote
Uses scheduled API polling to retrieve configuration and state data from the central server.
GodotSteam is a game engine plugin and API wrapper that integrates the Steamworks SDK into the Godot engine. It serves as a bridge between the engine's scripting layer and platform services, allowing applications to access social features and platform-specific connectivity. The project utilizes a C++ wrapper and a C-compatible foreign function interface to bind the Steamworks SDK. It includes a session manager that handles application ID initialization and enforces that the application is launched through the Steam client to validate ownership and session integrity. The integration covers se
Periodically checks the internal message queue during the game's main loop to dispatch callbacks.
Beehave is a behavior tree AI framework and plugin for the Godot engine. It serves as an agent logic orchestrator for designing adaptive non-player character behaviors using hierarchical behavior trees. The system features a visual debugger that provides runtime visualization of the execution flow and internal state of active trees. This allows for AI execution analysis and the identification of logic errors through a state-based runtime interface. The framework utilizes a composite-decorator pattern and a tick-based polling cycle to execute tree-based logic. It integrates directly with the
Updates the behavior tree state at a fixed frequency synchronized with the game loop frame.