notemine mines nostr notes, the miner is written in rust, targets web and compiles to wasm. Variable difficulty and realtime hashrate. There's some demos. There are low-level js wasm bindings and an easy-to-use typescript wrapper
@notemine/coregitnpm - Low-level js bindings and interface for Notemine WASM.@notemine/wrappergitnpm- A user-friendly wrapper for@notemine/corethat greatly simplifies usage in modern stacks and deployments with modern bundlers. Provides observables, manages workers, tracks internal state and bundles wasm as inline base64 within inline web-workers for hassle-free use in modern apps targeted for the browser.
@notemine/vanilla-js-demogitis a demo written with HTML, Vanilla JS and CSS, with no bundlers, that implements@notemine/core@notemine/svelte-demogitis a demo built withsvelteandvitethat implements@notemine/wrapper
@notemine/svelteModule that extends@notemine/wrapper, optimized for Svelte that exports stores and components for hassle-free use in svelte projects.@notemine/reactjsModule that extends@notemine/wrapper, optimized for ReactJS that exports stores and components for hassle-free use in svelte projects.
notemine-hwis a fork of@notemine/coreported to a cli application that leverages hardware acceleration
Will build all packages.
pnpm install
Install without building all packages
pnpm install --ignore-scripts
Use workspace commands:
pnpm --filter @notemine/wrapper ...
This repository includes automated deployment infrastructure for notemine.io:
- GUI: SolidJS SPA deployed to
/var/www/notemine/ - Relay: Go-based Nostr relay with PoW validation
- Infrastructure: Caddy reverse proxy with automatic HTTPS
See ansible/SETUP.md for deployment setup guide and ansible/README.md for detailed documentation.