Skip to content
amiyalisPublic
forked from wonmortech/shaffof

About

Verifiable charity reports sealed with Merkle roots, and a sourced zakat calculator after scholar review. Never handles money.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Shaffof

OpenSSF Best Practices OpenSSF Scorecard CI Mozilla Observatory A+ SSL Labs A+

A verifiable ledger for charity funds, and a sourced zakat calculator. Shaffof means "transparent" in Uzbek.

Status: planning. No product is released yet. The home page has a working in-browser demo of the verification idea, but there is no product, no hosted service and no partner fund. The GitHub releases (from v0.1.0) are signed, reproducible archives of the home page only.

Site: https://shaffof.wonmor.io

What it is

  1. Verifiable charity reports. A fund keeps an append-only ledger of income and spending. Each month the entries are folded into a Merkle tree, and its root is timestamped with OpenTimestamps (through the shared core of the sister project Muhr) and published. Anyone can then check that a published report was not changed afterwards, and a donor can check with a receipt number that their own gift is included (an inclusion proof, as in RFC 9162).
  2. A zakat calculator that shows several madhhab methods side by side, each with its source, and gives no rulings of its own. It runs in the browser and stores nothing.

What it is not

  • It never collects, holds or moves money. Payments go through the fund's own bank account.
  • No token, no crypto payments. Sealing only ties a hash to a point in time.
  • No donor names in public reports, and no donor rankings or leaderboards.
  • No fatwas.

Zakat rulings must be confirmed by qualified scholars. The calculator will not be released until its methods and sources have been reviewed in writing by qualified scholars. Nothing in this repository is legal or religious advice.

Documents

Repository layout

Path What
site/ The static home page (uz default, en/, ru/). No build step; serve the folder as is.
tools/render-pages.mjs Regenerates the three index.html files from one string table: node tools/render-pages.mjs
tools/check-site.mjs, tools/coverage.mjs Site checks (links, CSP rules, forbidden text) and the combined coverage gate
tests/ Unit and property tests (Node) and end-to-end tests (Playwright, Chromium, production CSP)
deploy/ Caddy configuration and the deploy scripts used by .github/workflows/deploy.yml
docs/ Plan, research and the assurance case

The site is designed for a strict CSP (script-src 'self', style-src 'self', no external hosts): fonts are self-hosted, every script and stylesheet is a local file, and the only inline style, inside the favicon, is allowed by its hash.

Family

Shaffof shares its key, Merkle log and anchoring core with two sister projects: Muhr (document seals) and Sanad (verifiable certificates).

Contributing

Questions, criticism and ideas are welcome in GitHub issues. How to set up, test (npm test, npm run lint) and send a change: CONTRIBUTING.md. Security problems go privately through GitHub or Telegram, not issues: see SECURITY.md.

Licence

Apache-2.0. Fonts in site/fonts/ are under the SIL Open Font License 1.1 (see the LICENSE-*.txt files next to them). Every file carries SPDX copyright and licence information, in its header or in REUSE.toml; the licence texts are in LICENSES/, and CI checks this with reuse lint (REUSE).


A Wonmor project.

About

Verifiable charity reports sealed with Merkle roots, and a sourced zakat calculator after scholar review. Never handles money.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages