Proce Starter is a template for building static web pages or blockchain-integrated web3 apps, previewing them locally, and deploying them instantly to ENS/IPFS and/or Arweave.
I use this starter kit to build:
This website itself (bruno.eth) is hosted with Planetable, but behind the scenes it uses the exact same approach.
Progressive centralization is the effort of making an application decentralized but "clunky" by default, so it's always up no matter what - no single points of failure. Only then do you add centralization on top - like social wallets, indexers, and more - since each of those failing will only degrade the service, never crash it.
More info in this talk:
Using Proce
The detailed guide is in the README but the gist of it is below.
Clone the repo:
git clone https://github.com/swader/proce
Make sure bun and foundry are installed.
The kit comes with two templates.
Template: page
A static web page compiled into an easily hostable artifact. Change its contents however you see fit. As long as you have no server components, this will work on any static host: Github pages, ENS/IPFS, Arweave, whatever.
Build it with bun run build page, preview with bun run preview page.
If you'd like to start working on this one, copy it into a different folder, e.g. "mySite", and then run
bun run default mySite
This sets it as the default argument for build and preview operations.
From then on, you can use bun run preview and bun run build without an argument, and bun run deploy with deploy whatever is in dist (now defaulting to your mySite project).
Template: web3
A template with a smart contract, Voltaire, wallet selection, and a UI for using the dapp.
Build it with bun run build web3, preview with bun run preview web3.
If you'd like to start working on this one, copy it into a different folder, e.g. "myApp", and then run
bun run default myApp
This sets it as the default argument for build and preview operations.
To test it locally, the kit comes with an Anvil localchain set up which will deploy the contract and unlock some local dev funds.
bun run dev
This starts the Anvil chain.
In another terminal:
bun run preview
This will preview the Townsquare app, kind of like an on chain message board with private (encrypted) DM option.
You can then edit the app, and edit / replace the smart contract.
Contributing
If you found this kit useful, I'd appreciate it if you'd let me know about anything you launch with it, and if you feel like contributing some features (as long as they're kept simple), feel free to open a pull request!