RepositoryCUSUnited States
ER

eradman/entr

Run arbitrary commands when files change

5.7kstars
127forks
0issues
1views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: kqueue

#1 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: inotify

#2 Repository Của Tuần

5
TINIX TRENDING·Chủ đề: test-automation

#5 Repository Của Tuần

⚡ entr: chạy lệnh bất kỳ khi file thay đổi, không cần polling

entr dùng kqueue(2) hoặc inotify(7) để theo dõi thay đổi file và chạy lệnh tùy ý ngay lập tức.

entr là tiện ích dòng lệnh bằng C, giúp chạy lệnh tùy ý khi file thay đổi. Hỗ trợ BSD, macOS, Linux. Dùng kqueue hoặc inotify, tránh polling.

✨ Điểm nổi bật

  • Theo dõi file thời gian thực: dùng kqueue(2) hoặc inotify(7), không polling.
  • Cài đặt đơn giản: ./configure && make test && make install.
  • Hỗ trợ WSL/Docker: biến môi trường ENTR_INOTIFY_WORKAROUND cho môi trường Windows.
  • Tùy chọn symlink: theo dõi symlink nếu đặt ENTR_FOLLOW_SYMLINK.
  • Tính năng đa dạng: hỗ trợ reload, clear màn hình, giới hạn output, v.v.

💡 Vì sao đáng chú ý

entr nhẹ, nhanh, phù hợp cho workflow phát triển li contiuous feedback. Ví dụ: rebuild dự án khi file thay đổi, tự động reload server Node.js, chạy truy vấn SQL khi script cập nhật.


#C #CLI #inotify #kqueue #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
emcrisostomo/fswatch

A cross-platform file change monitor with multiple backends: Apple macOS File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify and fanotify, Microsoft Windows and a stat()-based backend.

5.6k
Jul 22, 2026
RepositoryGo
fswatcher/fswatcher

Cross-platform file system notifications for Go.

225
Sep 23, 2026
RepositoryC
linux-test-project/ltp

Linux Test Project (mailing list: https://lists.linux.it/listinfo/ltp)

2.6k
Oct 27, 2026
RepositoryC
clsync/clsync

file live sync daemon based on inotify/kqueue/bsm (Linux, FreeBSD), written in GNU C

151
Oct 15, 2026
RepositoryC
zelang-dev/c-events

A tiny, lightning fast event loop, utilizing single interface for epoll, kqueue, iocp.

53
Jun 17, 2026
RepositoryTypeScript
appium/appium

Cross-platform automation framework for all kinds of apps, built on top of the W3C WebDriver protocol

22.1k
Oct 26, 2026
RepositoryGo
keploy/keploy

Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

18.8k
Oct 27, 2026
RepositoryJava
mockito/mockito

Most popular Mocking framework for unit tests written in Java

15.5k
Oct 20, 2026
RepositoryPython
google/artemis

ARTEMIS turns natural-language instructions into reliable Android automation. It automates end-to-end workflows, captures logs, and integrates seamlessly with AI coding assistants such as Antigravity, Codex, and Claude Code. It also achieves 99%+ success rate on AndroidWorld Benchmark.

15.1k
Oct 1, 2026