Skip to content

Commit

Permalink
Add Traffmonetizer
Browse files Browse the repository at this point in the history
Adding traffmonetizer (docker image released this week)
  • Loading branch information
OlivierGaland committed May 4, 2022
1 parent 5c50426 commit ceff14e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 9 deletions.
6 changes: 5 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ IPROYALPAWNS_PASSWD=<password>
# Your Peer2profit account email
PEER2PROFIT_EMAIL=<email>

# Your packetstream CID (to retrieve in your packetstream dashboard : Section download -> Looking for linux app -> docker command : -e CID=xxxx)
# Your packetstream CID (to retrieve in your packetstream dashboard : Section : download -> Looking for linux app -> docker command : -e CID=xxxx)
PACKETSTREAM_CID=<CID>

# Your traffmonetizer token (to retrieve in your traffmonetizer dashboard : Section : dashboard -> Your application token
TRAFFMONETIZER_TOKEN=<TOKEN>


# Internal environment (do not change)
_COMPOSE_PROJECT_NAME=cashfactory
_COMPOSE_PROJECT_STACK_ID=1
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Those tools are using your computer to route traffic, I'm personnally using it r
Installation (you can open www/index.html file to have a more interactive install section) :

- Install linux OS on your host machine (a low consuming and cheap linux compatible box if you want a dedicated computer) or you can use an already set linux server running 24/7 as this software is very low ressources consuming.
- Download CashFactory latest release : wget https://github.com/OlivierGaland/CashFactory/archive/refs/tags/v0.4.tar.gz , then uncompress : tar -xvf v0.4.tar.gz
- Edit created directory name to CashFactory and cd inside : mv CashFactory-0.4 CashFactory ; cd CashFactory
- Download CashFactory latest release : wget https://github.com/OlivierGaland/CashFactory/archive/refs/tags/v0.5.tar.gz , then uncompress : tar -xvf v0.5.tar.gz
- Edit created directory name to CashFactory and cd inside : mv CashFactory-0.5 CashFactory ; cd CashFactory
- Run install script (Need to run it as sudo -supervisor-) : sudo ./setup.sh
- Create an account for the app(s) you want to use (5 app supported : see Registering section below)
- Create an account for the app(s) you want to use (6 app supported : see Registering section below)
- Update .env file with the account details (put your account informations in defined environment variables)
- (Optional) If you don't want to use all app : comment or delete the corresponding section in docker-compose.yml
- Special procedure for Earnapp : you will need to add your device in the dashboard, to get the id use Portainer to open "exec console" on the Earnapp container (or through ssh enter: docker exec -it cashfactory_Earnapp_1 sh) and type : earnapp showid, to add the device you need to enter this link in your browser https://earnapp.com/r/your-id replacing "your-id" with the id you found earlier with show-id.
Expand All @@ -26,8 +26,8 @@ This won't cost you anything and motivate me to maintain this software by adding
- Supported [Register Peer2profit](https://p2pr.me/164081436561ccd71d961f2)
- Supported [Register IPRoyal Pawns](https://iproyal.com/pawns?r=455236)
- Supported [Register Packetstream](https://packetstream.io/?psr=32GQ)
- Supported [Traffmonetizer](https://traffmonetizer.com/?aff=52057)
- Not yet supported [Register Spider Income](https://income.spider.dev/r/galan21l65) : linux version under dev (prerequisite for CashFactory implementation)
- Not yet supported [Traffmonetizer](https://traffmonetizer.com/?aff=52057) : currently no linux version (prerequisite for CashFactory implementation)

Start/stop procedure :

Expand All @@ -37,6 +37,7 @@ Start/stop procedure :
Day to day management :

- Bookmarks for applications is available on a web interface on host (http server port 80)
Note if you install it on a machine already using port 80 (like a NAS for instance) you can change the Webserver port in docker-compose.yaml from "80:80" to "your_custom_port:80"
- Docker management for container and applications command/log is available on a web interface (Portainer) on host (http server port 9000)

License :
Expand Down
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,21 @@ services:
ipv4_address: 172.106.0.61
#End of Packetstream section

#Start of TraffMonetizer section (remove this if TraffMonetizer not wanted)
# variables to define in .env file :
# TRAFFMONETIZER_TOKEN : Your application token (available in TraffMonetizer dashboard)
TraffMonetizer:
depends_on:
- Portainer
- Webserver
image: traffmonetizer/cli:latest
restart: always
command: start accept --token ${TRAFFMONETIZER_TOKEN}
networks:
default:
ipv4_address: 172.106.0.80
#End of Packetstream section

volumes:
portainer_data:
earnapp-data:
Expand Down
8 changes: 4 additions & 4 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
<tr><td>Peer2profit</td><td>Yes</td><td>3</td><td>1</td><td>$1</td><td><button type="button" onclick="window.open('https://p2pr.me/164081436561ccd71d961f2')">Register</button></td></tr>
<tr><td>IPRoyal Pawns</td><td>Yes</td><td>2</td><td>1</td><td>$0.2</td><td><button type="button" onclick="window.open('https://iproyal.com/pawns?r=455236')">Register</button></td></tr>
<tr><td>Packetstream</td><td>Yes</td><td>2</td><td>2</td><td>$0.1</td><td><button type="button" onclick="window.open('https://packetstream.io/?psr=32GQ')">Register</button></td></tr>
<tr><td>Traffmonetizer</td><td>Yes</td><td>1</td><td>1</td><td>$0.1</td><td><button type="button" onclick="window.open('https://traffmonetizer.com/?aff=52057')">Register</button></td></tr>
<tr><td>Spider Income</td><td>Not yet</td><td>1</td><td>1</td><td>$1</td><td><button type="button" onclick="window.open('https://income.spider.dev/r/galan21l65')">Register</button></td></tr>
<tr><td>Traffmonetizer</td><td>Not yet</td><td>1</td><td>1</td><td>$0.1</td><td><button type="button" onclick="window.open('https://traffmonetizer.com/?aff=52057')">Register</button></td></tr>
</table>
<table class="table_text">
<tr><td>
Expand All @@ -88,8 +88,8 @@
<tr><td>
<h1>Installation procedure :</h1><br><br>
1) Install linux OS on your host machine.<br><br>
2) Download CashFactory latest release : wget https://github.com/OlivierGaland/CashFactory/archive/refs/tags/v0.4.tar.gz , then uncompress : tar -xvf v0.4.tar.gz<br><br>
3) Edit created directory name to CashFactory and cd inside : mv CashFactory-0.4 CashFactory ; cd CashFactory<br><br>
2) Download CashFactory latest release : wget https://github.com/OlivierGaland/CashFactory/archive/refs/tags/v0.5.tar.gz , then uncompress : tar -xvf v0.5.tar.gz<br><br>
3) Edit created directory name to CashFactory and cd inside : mv CashFactory-0.5 CashFactory ; cd CashFactory<br><br>
4) Run install script (Need to run it as sudo -supervisor-) : sudo ./setup.sh<br><br>
5) Create an account for the app you want to use (5 app supported, see Register tab)<br><br>
6) Update .env file with the account details<br><br>
Expand Down Expand Up @@ -134,7 +134,7 @@ <h3>I'm happy with the software and want to give you a reward, how can I do that
<table class="table_text">
<tr><td>
<h1>CashFactory</h1><br><br>
Release : beta 0.4 (27/04/2022)<br><br>
Release : beta 0.5 (04/05/2022)<br><br>
Author : Olivier Galand (contact : galand.olivier.david@gmail.com)<br><br>
Project page and support : https://github.com/OlivierGaland/CashFactory<br><br>
This product is free for use and may be copied and distributed freely in its original form.<br>
Expand Down

0 comments on commit ceff14e

Please sign in to comment.