This starter kit provides a foundation for creating multipage websites with custom hash routing, utilizing a recursive Svelte component, and featuring basic custom Vite configuration for seamless deployment to the Arweave Mainnet.
- Multipage functionality through custom hash routing (not reliant on any additional packages like tinro or Reach Router)
- A Recursive Svelte Component
- Basic custom Vite configuration for easy deployment to Arweave Mainnet
- Customize the page(s) however you want, just keep the entire build under 100kb. (Run
npm run build
to see build size) - No $AR token or even an Arweave wallet is required as long as you keep the build under 100kb.
- Extremely simple to use and implement.
- No need to use any additional packages like tinro or Reach Router.
- Very easy to update the website with basic text-based content.
- Very easy to update the CSS.
- Using basic Javascript and Svelte.
- For free deployment, you need to keep the build under 100kb, which restricts the amount of content and styling you can deploy.
- This style of hashrouting may be difficult to manage for those unfamiliar with it.
- Many may find editing the content beyond the basic text-based content to be difficult.
- Clone the Repository:
git clone https://github.com/PSkinnerTech/Arweave-Custom-HashRouting.git
- Navigate to the Project Directory:
cd Arweave-Custom-Hashrouting
- Install Dependencies:
npm install
-
Customize Your Website:
- Edit the pages as per your requirements.
-
Build Your Website:
npm run build
- Deploy to Arweave:
arkb deploy dist --use-bundler https://node2.bundlr.network --tag-name DEPLOY --tag-value Your-MultiPage-AppName --auto-confirm
Note: Replace Your-MultiPage-AppName
with the name of your multipage application.
An Arweave URL will be printed when the deployment is successful. It may take up to 30 seconds for the content to publish to the link, so please be patient.
You're all set! Congrats!
HMU if you have questions. @PSkinnerTech