SkillAgentSearch skills...

Nailgun

Nailgun is a client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead.

Install / Use

/learn @facebookarchive/Nailgun
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

nailgun

Build status


Note: Nailgun is based on original code developed by <a href="http://martylamb.com/">Marty Lamb</a>. In October, 2017, Marty transferred the repository to Facebook, where it is was previously maintained by <a href="https://buck.build/">the Buck1 team</a>. In April, 2023, Buck1 was deprecated in favor of <a href="https://buck2.build/">Buck2</a>, which does not use Nailgun. As a result this repository is now unmaintained.

Nailgun remains available under the Apache license, version 2.0.


Build and Installation

Nailgun is a client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead.

Programs run in the server (which is implemented in Java), and are triggered by the client (written in C), which handles all I/O.

The server and examples are built using maven. From the project directory, "mvn clean install" will do it.

The client is built using make. From the project directory, "make && sudo make install" will do it. To create the windows client you will additionally need to "make ng.exe".

This repository contains implementations of a nailgun client in Python and in C.

For additional client implementations in other languages, see:

  • snailgun, a client implementation written in Scala that compiles to native.
  • railgun, a client implementation written in Ruby.

For more information, see the nailgun website.

License

Apache License 2.0

Legal

Related Skills

View on GitHub
GitHub Stars733
CategoryDevelopment
Updated12d ago
Forks134

Languages

Java

Security Score

80/100

Audited on Mar 27, 2026

No findings