A Quasi-Static blog for the Hive Blockchain.
git clone https://github.com/verbalshadow/prime
cd prime
npm install
In src/lib/stores/Settings.js.
// Site Configuration
export const hiveId = 'brianoflondon';
export const brand = 'World Peace of Mind';
export const hideCrossPosts = true;
export const hideReblogs = false;
// Configure Hive fallbacks if one or more fail
export const hiveAPIs = [
'https://api.hive.blog',
'https://api.hivekings.com',
'https://anyx.io',
'https://api.openhive.network'
];
- hiveId with your hive username.
- brand with the name you would like to call your blog.
- If you want cross-posts in your blog. This is generally an unwanted behavior. Change hideCrossPosts to false. This will show the orginial post and the small crossposts as seperate posts.
- hideReblogs is not currently implemented. These are currently shown as Guest Posts in your blog.
- hiveAPIs add or remove Hive API endpoints to ensure access.
In src/routes/+page.svelte.
npm run build
Deploy your site to Netlify. Other hosts may need a different svelte-adaptor.