Skip to content

Project · development template

hApp Example

an example app for development and testingExample for hApp CI and development environment setup
How you run it
not recorded
Holochain version
0.0.41-alpha4
Activity
stalled
Checked
27 October 2026

What is hApp Example and what is it for?

hApp Example is an example Holochain app project that shows one way to set up an app's build and test environment. Developers read or copy it as a starting point for their own build files; it is not an application that end users run.

hApp Example is an example app project published under the Holo-Host organisation on GitHub, kept as a worked example of how to configure a Holochain app's build and test environment rather than as software to run. It holds a small Rust app alongside the Nix files — default.nix, pkgs.nix and shell.nix — that a developer copies into their own project and edits to point at their app.

The template's point is a repeatable environment. Instead of each developer assembling a toolchain by hand, the example shows one set of configuration files that builds an app's DNA using tooling from holo-nixpkgs, supports developing against either a local or a bundled version of the Holochain core, and wires the same configuration into continuous integration services. A September 2019 development update from the Holochain project introduced it as a response to dependency breakage between core releases.

In practice a developer copies the three Nix files, replaces the example name with their own, and builds; the example also demonstrates scenario tests run through the hc test command, with Makefile targets and Hydra and CircleCI integration. The repository's README is where the exact steps and file roles are documented. The same documentation describes holochain-rust and sim2h, an early Holochain development environment, and no source read here states that it works with current releases.

How to get it

As a library

  1. Copy default.nix, pkgs.nix and shell.nix into your own project, substituting your app's name for happ-example.
  2. Run nix-build -A happ-example to produce a release DNA.
  3. Run nix-shell to develop against the bundled Holochain version, or nix-shell -I holochain-rust=../holochain-rust to develop against a local holochain-rust checkout.
  4. These commands are quoted from the repository's own documentation of its build environment; no source read for this profile states that they work with current Holochain releases.

Source: https://github.com/Holo-Host/happ-template

Questions people ask

What does hApp Example provide?
Three Nix configuration files — default.nix, pkgs.nix and shell.nix — plus a small Rust example app, a Makefile, and JavaScript scenario tests in the test directory. source
How do the tests run?
The repository documents JavaScript scenario tests written with Try-o-rama and executed with hc test, runnable through make test or make nix-test, with CircleCI configured to run the same command. source
Is hApp Example compatible with current Holochain releases?
No source read for this profile says so. The repository documents holochain-rust and sim2h, an early Holochain development environment, and the project's activity is recorded as stalled. source

From 2 public sources, checked 23 September 2026.

Try hApp Example

  • Code on GitHubOpen on GitHub ↗Last change 29 April 2022.
  • Releasev0.0.0-alpha1Pre-release, published 3 December 2019.
  • The project's own files do not say how it is run.

Details & sources

Evidence

Release
github.com/Holo-Host/happ-template/releases/tag/v0.0.0-alpha1shipped in a release · seen since 20 October 2026 · github.release@1
Last change
api.github.com/repos/Holo-Host/happ-templatelisted by a third party · seen since 20 October 2026 · github.repository@1
Activity
api.github.com/repos/Holo-Host/happ-templatelisted by a third party · seen since 20 October 2026 · liveness@1

Compatibility

hdk
0.0.41-alpha4 · Cargo.lock @ 36f6b05
hdi
—
holochain-client
—
happ.yaml
absent
web-happ.yaml
absent
Do you maintain hApp Example?Add your name to this project’s page.
Claim this page