Day 4: Earn money with Raspberry Pi 5
There are some website allows you share your internet or CPU to earn money, as the Raspberry pi only consumes a little power, so the earned money can cover its cost.
Websites that can earn money
You can register accounts from each of them, and run their service to earn money.
earnapp
You can register using this
link, and then run this command on raspberry pi:
`wget -qO- https://brightdata.com/static/earnapp/install.sh > /tmp/earnapp.sh && sudo bash /tmp/earnapp.sh`
And it will give you a link so you can login, then it is done.
pawns
You can register using this
link, and then put the email and password in to a config file
cat >> .env << EOF
PAWNS_EMAIL=user@abc.com
PAWNS_PASSWORD=my-secret
EOF
repocket
You can register using this
link, and then put the email and token in to a config file
cat >> .env << EOF
RP_EMAIL=user@abc.com
RP_API_KEY=abcdefg-1234-hiji-abcd-22222222222
EOF
honeygain
You can register using this
link, and the put the email and password in to a config file
cat >> .env << EOF
HONEYGAIN_EMAIL=user@abc.com
HONEYGAIN_PASSWORD=my-secret
EOF
start docker
With all the configurations added to .env file, you can start docker with
cat > .env << EOF
services:
pawns:
image: iproyal/pawns-cli
container_name: pawns
restart: always
network_mode: host
command: -email=${PAWNS_EMAIL} -password=${PAWNS_PASSWORD} -device-name=pi5-docker -accept-tos
env_file:
- .env
honeygain:
image: honeygain/honeygain
container_name: honeygain
restart: always
network_mode: host
command: -tou-accept -email ${HONEYGAIN_EMAIL} -pass ${HONEYGAIN_PASSWORD} -device pi5-new
env_file:
- .env
repocket:
image: repocket/repocket
container_name: repocket
restart: always
network_mode: host
environment:
- RP_EMAIL=${RP_EMAIL}
- RP_API_KEY=${RP_API_KEY}
env_file:
- .env
EOF
docker compose up -d
That is all, you will see the node is running by checking logs
docker logs repocket
docker logs pawns
docker logs honeygain
Next: Day 5