Built something? We create video reels & spotlights for GitHub projects.Promote your project →
emacsattic
Home / Emacs Lisp / dir-locals

emacsattic/dir-locals

Local variables for a directory tree

Emacs Lisp ◇ developer-tools
★2STARS
⑂0FORKS
!0ISSUES
🏆#30,424GLOBAL RANK
🔥20DAYS TRENDING
🚀
Maintainer Growth Kit for dir-locals

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

⚡ Executive Summary & Quick Facts

Authoritative Source

dir-locals is dir-locals is an open-source project written in Emacs Lisp: Local variables for a directory tree..

Repository emacsattic/dir-locals ↗
Primary Category developer tools
Language & Stack Emacs Lisp
Software License Open Source (Check repository LICENSE)
Community Traction ★ 2 stars · ⑂ 0 forks · #30,424 globally
Maintenance ● Active (Last commit: Nov 12, 2011) · 0 open issues
Target Audience Developers and engineering teams building with Emacs Lisp, seeking reliable, tested, and actively maintained tooling for production workloads.

Star History

Continuous Observations
Interactive star growth chart for emacsattic/dir-locals
CSV
⭐ VIRAL README KIT

Add Live Star History & Verified Badges to README.md

Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.

Open README on GitHub ↗
Option 1: Interactive Star History Chart Dynamic SVG

Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.

emacsattic/dir-locals Star History Preview
markdown
[![Star History Chart](https://githubrepo.cloud/api/badge/chart/emacsattic/dir-locals.svg?theme=dark)](https://githubrepo.cloud/repo/emacsattic/dir-locals?utm_source=readme_chart)
Direct SVG Link ↗
Option 2: Verified Shields Badges Shields.io Style

Compact Shields-style badges for your README header. Shows real-time stars and global ranking.

Featured badge Stars badge Rank badge
markdown (badge trio)
[![Featured on GitHubRepo.cloud](https://githubrepo.cloud/badge/emacsattic/dir-locals.svg?metric=featured)](https://githubrepo.cloud/repo/emacsattic/dir-locals?utm_source=readme_badge) [![GitHubRepo Stars](https://githubrepo.cloud/badge/emacsattic/dir-locals.svg?metric=stars)](https://githubrepo.cloud/repo/emacsattic/dir-locals?utm_source=readme_badge) [![Global Rank](https://githubrepo.cloud/badge/emacsattic/dir-locals.svg?metric=rank)](https://githubrepo.cloud/repo/emacsattic/dir-locals?utm_source=readme_badge)

Momentum

+10

STARS · LAST 30 DAYS

1

PER DAY

#84

MOST-STARRED Emacs Lisp

Window7 days30 days90 days
Stars gained+0+10+90
Per day111
Forks gained+0+3+10

dir-locals gained 10 stars in the last 30 days, about 1 a day, and now has 2. It is about 17 years old and has averaged roughly 0 stars a year. It ranks #84 among Emacs Lisp repositories and #30,424 across all languages on GitHubRepo.

Trending Record

dir-locals has maintained a continuous presence across global trending indexes, peaking at #100. Below is the 30-day activity profile:

💡 Overview

dir-locals is an open-source project written in Emacs Lisp: Local variables for a directory tree.

Engineered for speed, consistency, and developer ease, it solves common hurdles in Emacs Lisp. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in Emacs Lisp for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ git clone https://github.com/emacsattic/dir-locals.git
cd dir-locals

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

Emacs Lisp environment and standard tooling

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

dir-locals coordinates its core functionality through a modular Emacs Lisp pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Production System Integration

Embed dir-locals into Emacs Lisp backend services to handle core application logic.

CI/CD Automated Pipelines

Run automated validation, builds, and integration suites during deployments.

Developer Tooling & Workflows

Accelerate developer onboarding with pre-configured project utilities.

Open Source Extension

Fork and customize internal modules under the repository's open source license.

🚀 Getting Started

1

Install dir-locals using your package manager: `git clone https://github.com/emacsattic/dir-locals.git`

2

Initialize your project workspace or configuration file for dir-locals.

3

Import dir-locals into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `dir-locals --help` to verify successful setup.

👍 Strengths

Active community backing with 2 GitHub stars and verified adoption.
Permissive open-source distribution under the Open Source license.
Built in Emacs Lisp for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with Emacs Lisp and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

E
purcell/emacs.d ★ 7.1K Emacs Lisp

An Emacs configuration bundle with batteries included

Compare ↗
C
company-mode/company-mode ★ 2.3K Emacs Lisp

Modular in-buffer completion framework for Emacs

Compare ↗
D
gf3/dotfiles ★ 1.1K Emacs Lisp

Configurations for the tools I use every day

Compare ↗
P
nex3/perspective-el ★ 1.1K Emacs Lisp

Perspectives for Emacs.

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with Emacs Lisp, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

emacsattic/dir-locals is currently ranked #30,424 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#28,540 jpstacey/Drupal-HTML-Inject — ★ 3 Compare ↗
#28,540 nakajima/feature-hider Ruby ★ 3 Compare ↗
#28,540 bhuga/drupal-to-disqus Ruby ★ 3 Compare ↗
#28,540 kimbogum/neo4jr_gen Ruby ★ 3 Compare ↗
#28,540 mali/Robby-Gort C ★ 3 Compare ↗
#30,424 emacsattic/dir-locals This Project Emacs Lisp ★ 2
#30,424 pdsphil/ruby-merlin Ruby ★ 2 Compare ↗
#30,424 daaku/tempdir Ruby ★ 2 Compare ↗
#30,424 morgs/poll-builder Python ★ 2 Compare ↗
#30,424 locusf/monotooth HTML ★ 2 Compare ↗
#30,424 xman/utility Shell ★ 2 Compare ↗
SPONSORED Trending Developer Tools & Services

Frequently Asked Questions

What does dir-locals do? +

Local variables for a directory tree

What language is dir-locals written in? +

The primary language is Emacs Lisp. Topics include: software.

Is dir-locals actively maintained? +

Yes, the last recorded push was on Nov 12, 2011 with 0 open issues being tracked.

How many stars does dir-locals have? +

dir-locals has 2 stars and 0 forks on GitHub.

How does dir-locals rank among GitHub repositories? +

With 2 stars, emacsattic/dir-locals is ranked #30,424 globally across all repositories tracked on GitHubRepo and #84 among Emacs Lisp projects.

What license is dir-locals distributed under? +

No SPDX license identified yet. Code without a license is subject to copyright by default.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.

SPONSORED Sponsored Partner