İçeriğe atla

Proje

very-simple-happ

a test app for shared datavery simple Holochain hApp for testing quantized gossip
Nasıl çalıştırılır
kaydedilmedi
Holochain sürümü
kaydedilmedi
Etkinlik
durgun
Kontrol edildi
27 Ekim 2026

What is very-simple-happ and what is it for?

very-simple-happ is a small Holochain app written to exercise quantized gossip, the method Holochain's peer-to-peer layer uses to compare data across a network and move only what differs. It exists as a test bed rather than a finished product: it writes batches of numbers into shared data and reads them back, so that the app itself does almost nothing while the gossip machinery is what gets exercised.

very-simple-happ is a one-person side project from the early period of Holochain app building. Its author, maackle, is the Holochain contributor who wrote the network crate that first implemented quantized gossip in the main Holochain codebase, and the repository's own one-line description says plainly what the app is: a very simple Holochain app for testing quantized gossip.

The idea is deliberately small. Where an ordinary Holochain app holds real content and rules about who may change it, this one holds a single kind of thing — a number — and two actions: write a batch of numbers, and read back the numbers it can see. That is the whole app, which is the point. An app this thin produces shared data and little else, so it works as a test bed for how that data travels between peers.

Concretely, the repository's Node script installs the bundled app into a conductor on the same machine, writes a set of random numbers, then lists them back and prints how many it found, which is the number that shows whether everything written could be read again. What happens on the wire belongs to the gossip implementation rather than to this app. It is a historical reference rather than a tool in current use, and the live panel records its activity and compatibility.

Nasıl edinilir

Komut satırından

  1. This is the project's own script as it was left in the repository. It is not a maintained installation path and no current compatibility is established.
  2. The repository carries a DNA and a prebuilt app bundle under dna/ (dna/simple.dna and dna/simple.happ).
  3. ui/main.js is a Node script that connects to a Holochain conductor on the local machine, over the admin websocket on port 3333 and the app interface on port 4444.
  4. With a conductor running, the script takes three commands: i installs the bundle, c N creates N random items, and l lists the items it can read back and prints their count.

Kaynak: https://raw.githubusercontent.com/maackle/very-simple-happ/main/ui/main.js

İnsanların sorduğu sorular

What is quantized gossip?
It is a way for Holochain peers to compare the data they hold without sending all of it: each peer divides the shared data space into regions, keeps a short hash fingerprint of the data in each region, compares fingerprints with a neighbour, and exchanges data only for the regions that differ, so that copies converge faster and with less traffic. kaynak
What does the app actually do when it runs?
Its DNA defines one entry type holding a number and exposes a create action that writes a batch of numbers and links each one under a shared 'items' path, and a list action that reads those links back and reports the items plus how many links it saw. The Node script in the repository calls those two actions so a person can write random numbers and read them back. kaynak

8 herkese açık kaynaktan derlendi; son kontrol: 23 Eylül 2026.

Deneyin: very-simple-happ

  • GitHub'daki kodGitHub'da aç ↗Last change 26 Mayıs 2022.
  • SürümKayıtlı GitHub sürümü yok.
  • Projenin kendi dosyaları nasıl çalıştırıldığını belirtmiyor.

Ayrıntılar ve kaynaklar

Kanıt

Son değişiklik
api.github.com/repos/maackle/very-simple-happüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · github.repository@1
Etkinlik
api.github.com/repos/maackle/very-simple-happüçüncü bir tarafça listelenmiş · 20 Ekim 2026 tarihinden beri görülüyor · liveness@1

Uyumluluk

hdk
—
hdi
—
holochain-client
0.3.2 · ui/package.json @ fa61857
happ.yaml
yok
web-happ.yaml
yok
very-simple-happ projesini siz mi sürdürüyorsunuz?Adınızı bu projenin sayfasına ekleyin.
Bu sayfayı sahiplenin