{"id":16381016,"url":"https://github.com/jasl/learn-mht","last_synced_at":"2026-01-20T05:32:10.453Z","repository":{"id":224803427,"uuid":"764232298","full_name":"jasl/learn-mht","owner":"jasl","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-04T02:50:31.000Z","size":146,"stargazers_count":0,"open_issues_count":6,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T14:58:49.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jasl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-27T18:01:50.000Z","updated_at":"2024-02-27T18:28:40.000Z","dependencies_parsed_at":"2024-03-17T11:29:58.848Z","dependency_job_id":"5d56f863-ce14-4835-a723-79a7b702d01a","html_url":"https://github.com/jasl/learn-mht","commit_stats":null,"previous_names":["jasl/learn-mht"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasl%2Flearn-mht","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasl%2Flearn-mht/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasl%2Flearn-mht/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasl%2Flearn-mht/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasl","download_url":"https://codeload.github.com/jasl/learn-mht/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247704516,"owners_count":20982293,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T03:53:09.759Z","updated_at":"2026-01-20T05:32:05.430Z","avatar_url":"https://github.com/jasl.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# README\n\n## Requirements\n\n- Ruby 3.3.0\n- PostgreSQL\n\n## Prepare\n\n```\nbundle\ncp config/database.yml.sample config/database.yml\ncp config/cable.yml.sample config/cable.yml\nEDITOR=cat bin/rails credentials:edit\nrails db:create\n```\n\n## Run\n\n```\nrails db:reset \u0026\u0026 ./doc/poc.rb\n```\n\nResult is GraphViz dot\n\nPut it to \u003chttps://dreampuf.github.io/GraphvizOnline/\u003e to visualize\n\nbenchmarks\n\n```\nRAILS_ENV=production bundle exec rake benchmark:bm NUM=500\n# batch create\nRAILS_ENV=production bundle exec rake benchmark:bm NUM=5000 BATCH=100\n```\n\n## Showcase\n\n- [db/migrate](db/migrate)\n- [doc/poc.rb](doc/poc.rb)\n\n## References\n\n- https://blog.ethereum.org/2015/11/15/merkling-in-ethereum\n- https://transparency.dev/verifiable-data-structures/\n- https://transparency.dev/how-to-design-a-verifiable-system/\n- https://github.com/google/trillian/tree/master/merkle\n- https://github.com/google/trillian/tree/master/log\n- https://github.com/transparency-dev/formats/blob/main/log/README.md#checkpoint-format\n- https://github.com/transparency-dev\n- https://datatracker.ietf.org/doc/html/rfc9162#name-merkle-trees\n- https://aly.arriqaaq.com/merkle-tree-and-verifiable-data-structures/\n- https://github.com/mpalmer/merkle-hash-tree\n- https://www.derpturkey.com/merkle-tree-construction-and-proof-of-inclusion/\n- https://github.com/OpenZeppelin/merkle-tree\n- https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/MerkleProof.sol\n- https://medium.com/@colbyserpa/nostr-2-0-layer-2-off-chain-data-storage-b7d299078c60\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasl%2Flearn-mht","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasl%2Flearn-mht","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasl%2Flearn-mht/lists"}