https://github.com/cosmicjs/bitblog
Monetize your content with crowd-sourced cryptocurrency mining. Think of it as an alternative to advertising.
https://github.com/cosmicjs/bitblog
Last synced: 11 months ago
JSON representation
Monetize your content with crowd-sourced cryptocurrency mining. Think of it as an alternative to advertising.
- Host: GitHub
- URL: https://github.com/cosmicjs/bitblog
- Owner: cosmicjs
- Created: 2017-09-20T06:06:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T13:00:16.000Z (over 8 years ago)
- Last Synced: 2025-03-14T17:21:22.965Z (over 1 year ago)
- Language: HTML
- Homepage: https://cosmicjs.com/apps/bitblog
- Size: 56.6 KB
- Stars: 10
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitblog

### [View Demo](https://cosmicjs.com/apps/bitblog/demo)
### What is this?
Forked from the [Simple Blog](https://github.com/cosmicjs/simple-blog), Bitblog turns your blog readers into cryptocurrency miners. It uses [Coin Hive](https://coin-hive.com/) to mine [Monero](https://getmonero.org/) coins directly in the reader's browser (with their consent of course). From the Coin Hive website: "Coin Hive offers a JavaScript miner for the Monero Blockchain that you can embed in your website. Your users run the miner directly in their Browser and mine XMR for you in turn for an ad-free experience, in-game currency or whatever incentives you can come up with."
### Getting Started
1. Create a [Coin Hive](https://coin-hive.com/) account and go to the Settings Page to get your Public Site Key
2. Find and install the [Bitblog App](https://cosmicjs.com/apps/bitblog) on [Cosmic JS](https://cosmicjs.com) located in Your Bucket > Apps
3. Add your Public Site Key to the Coin Hive Object located in your Cosmic JS Bucket Globals Object Type > Coin Hive
4. Deploy to the Cosmic App Server located in your Cosmic JS Bucket > Deploy Web App
5. Blog
6. Profit
#### Download locally
```
git clone https://github.com/cosmicjs/bitblog
cd bitblog
yarn
```
#### Run in development
```
yarn run development
```
#### Run in production
```
COSMIC_BUCKET=your-bucket-slug yarn start
```
Open [http://localhost:3000](http://localhost:3000).
