Code Monkey home page Code Monkey logo

cashfactory's Introduction

CashFactory

Lightweight docker image stack (using docker-compose) running many passive income applications (proxy and bandwidth share) : Honeygain , EarnApp , IPRoyal Pawns , PacketStream , Peer2Profit . Expected raw revenue is around $30-$40 per month (Jan 2022 estimation), 24/7 power cost to deduce.

Those tools are using your computer to route traffic, I'm personnally using it running on two different ips (my home connection and my 4G backup connection). Those kind of ip are working well, but I believe this won't be the case on some ips (like vpn for instance). Keep in mind if you have several ip, you can run a stack on each ip to increase revenue, but running several time this stack on same ip should not give you more (and some tools supported won't allow it).

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 in $HOME directory : cd $HOME, then : wget https://github.com/OlivierGaland/CashFactory/archive/refs/tags/v1.10.tar.gz , then uncompress : tar -xvf v1.10.tar.gz
  • Edit created directory name to CashFactory and cd inside : mv CashFactory-1.10 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 (8 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.
  • Special procedure for Peer2profit : registration is done using a telegram bot (you need to install telegram application)
  • Special procedure for Bitping : you will need to enter manually credential to initialize (TODO : easiest way ?), in $HOME/CashFactory type : sudo docker run -it -v $HOME/CashFactory/data/bitping/:/root/.bitping bitping/bitping-node:latest , then enter your credential , once this is done CTL-C to end container
  • special procedure for Proxyrack : you will need to add your device uuid (see .env how to generate it) in the dashboard (dashboard -> devices -> add device)

Registering section and supported cash earning apps :

This is the list of applications supported (or to be supported) by this docker stack. Please, as this software is free, consider using the register link below to create your account for each app, this will add you in my referral list and I will get a reward from this company. This won't cost you anything and motivate me to maintain this software by adding new applications and providing support to customers.

Start/stop procedure :

  • Start stack : sudo docker-compose up -d (in CashFactory directory)
  • Stop stack : sudo docker-compose down (in CashFactory directory)

Day to day management :

  • Bookmarks for applications is available on a web interface on host (http server port 80), if you install it on a machine already using port 80 (like a NAS for instance) you must change the Webserver port in docker-compose.yaml from "80:80" to "your_custom_port:80" or the entire stack will fail (as dependent on Webserver)
  • Docker management for container and applications command/log is available on a web interface (Portainer) on host (http server port 9000). A basic knowledge of docker and docker-compose could also be helpfull (how to stop/star specific container, images policy, ssh on a container ...)
  • Container rebuild : In case you need to rebuild the image for a given app (like repocket only for instance ...), easiest way is to go on portainer interface, remove the container of this app (containers panel), then go on images panel and remove the image of the app (exact name can be found in docker-compose.yml). Once this done, just start stack again (sudo docker-compose up -d) : docker compose will just rebuild the removed image, container and start it without altering others apps.

License :

  • This product is free for use and may be copied and distributed freely in its original form.
  • Personal modifications are allowed for your personal use, but modified copy are not allowed for distribution.

Compatibility :

  • Currently tested and running on a NUC computer with Ubuntu 20.04 server / docker 20.10.12 / docker-compose 1.25.0 ; hardware is N3150 celeron processor (4% load average), 8Gb memory (450 Mb used) and 120Gb disk (10 Gb used)
  • Should be working on any x86/amd64 computer running Linux+docker with a very basic setup (low end CPU / 1Gb memory / 20Gb disk / 10Mb ethernet adapter)
  • Other architecture not yet confirmed to be working (Windows / Mac)
  • Confirmed working on ubuntu 20.04 server, 22.04 server
  • Confirmed actually not working on Raspberry
  • Confirmed working on Synology NAS using VM (ubuntu 20.04 installed)
  • You may experience issues with earnapp if using debian : earnapp container exiting with error 255 (prefer using ubuntu 20.04)

TODO list :

  • Add new applications when they appear (should be dockerizable to be elligible)
  • Do a compatibility list based on user feedback / solve compatibility issue if possible
  • Beta version : solve coming bugs

Contact :

  • bugs/requests : this github page (section : Issue or Discussion)
  • email : [email protected]

Web interface with quick links to dashboards on port 80 (uhttpd server) and Web interface on port 9000 (Portainer container) below :

image image

cashfactory's People

Contributors

micka-r avatar morph3us1984 avatar oliviergaland avatar thibault-ketterer avatar yticeice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cashfactory's Issues

proxy

can i run it with residential proxies for each stack

Container runs but not showing logs?

Somehow all containers run but one is not doing it right =>

can anyone help with that? :D

traffmonetizer seems not even to start at all, the log is empty (but shows up in dash somehow) (container is running)

or is that the same "bug" for everyone? @OlivierGaland

Those are my found issues/errors atm
(there were many more before, but managed to resolve them myself the last 2 days :D )

Usage with subnet

Hello. I have 2+ ips assigned to one machine and want use them but I cannot get internet access if set that ips

ECONNREFUSED Proxyrack

Hi,

I think I have a problem with Proxyrack, I have lots of ECONNREFUSED in my logs :

2023-12-03T14:41:45.343394996Z sending
2023-12-03T14:41:45.448594328Z Error:  connect ECONNREFUSED 154.49.96.82:80
2023-12-03T14:42:15.371705643Z sending 
2023-12-03T14:42:15.538442150Z Error:  connect ECONNREFUSED 23.227.142.26:80
2023-12-03T14:42:45.380016233Z sending 
2023-12-03T14:42:45.480887282Z Error:  connect ECONNREFUSED 154.49.96.82:80
2023-12-03T14:43:15.402913716Z sending 
2023-12-03T14:43:15.527798932Z Error:  connect ECONNREFUSED 154.49.96.82:80
2023-12-03T14:43:45.433046303Z sending 
2023-12-03T14:43:45.531182365Z Error:  connect ECONNREFUSED 23.227.142.26:80
2023-12-03T14:44:15.454922228Z sending 
2023-12-03T14:44:15.557377922Z Error:  connect ECONNREFUSED 209.205.197.226:80

and my devices bandwidth graphs are not great :

image

Has anyone ever encountered this kind of problem? Thank's

Peer2profit dashboard not working

The button to access peer2profit dashboard is no more working since 08APR (at least for me)

Reason : Address seems to have move from https://peer2profit.io/dashboard to https://dashboard.peer2profit.app/dashboard

Workaround : use manually https://dashboard.peer2profit.app/dashboard

Fix : new release needed with index.html change with correct url WTP

You can also :

  • modify this file by yourself and regenerate container or the stack
  • log on webserver container from portainer and edit this file : vi www/index.html (best method)

https://peer2profit.com/ doesn't exist anymore.

Today when I visited https://peer2profit.com/, I got a DNS_PROBE_POSSIBLE error.

This seems that peer2profit doesn't work anymore.

Can anyone else successfully visit https://peer2profit.com/ ?

My peer2profit docker container keeps generating the following error messages:

2023-10-19T15:45:59Z | Waiting configuration.
2023-10-19T15:46:00Z | Configuration request.
2023-10-19T15:46:00Z | Getting config is error. NetworkError: 2 : Connection closed
2023-10-19T15:46:00Z | Error while getting of configuration. Repeat.
2023-10-19T15:47:20Z | Waiting configuration.
2023-10-19T15:47:22Z | Configuration request.
2023-10-19T15:47:22Z | Getting config is error. NetworkError: 2 : Connection closed
2023-10-19T15:47:22Z | Error while getting of configuration. Repeat.
2023-10-19T15:48:42Z | Waiting configuration.
2023-10-19T15:48:43Z | Configuration request.
2023-10-19T15:48:43Z | Getting config is error. NetworkError: 2 : Connection closed
2023-10-19T15:48:43Z | Error while getting of configuration. Repeat.
2023-10-19T15:50:03Z | Waiting configuration.
2023-10-19T15:50:04Z | Configuration request.

Unable to register device ID and modified compose file to use fazalfarhan01's lite version

Description

I am facing issues while trying to register my device ID in Earnapp. Whenever I attempt to register the device, the Earnapp dashboard displays the following error message: "Error while linking device: The device is not found."

To address this problem, I made modifications to the compose file and opted to use the lite version provided by fazalfarhan01 as a potential solution.

Expected Behavior

The device ID should be accepted and successfully registered in Earnapp, allowing for proper device linkage and functionality within the application.

Actual Behavior

Despite providing the device ID as specified in the compose file, the Earnapp dashboard fails to recognize the device, resulting in the error message: "Error while linking device: The device is not found."

As a workaround, I decided to modify the compose file to use the lite version provided by fazalfarhan01, based on similar issues reported by other users in the repository.

# Start of Earnapp section (remove this if Earnapp not wanted)
# Variables to define in .env file:
# EARNAPP_DEVICE_ID: Your node ID: sdk-node-<md5sum>
#                    <md5sum> is a 32 char string containing a-z and 0-9 range:
#                      ex: Easy way to generate one: echo "random string" | md5sum
#                          This will print 9f33ffbb8a9dcedb28ea909775a6b0d3 -
#                          In that case, use: sdk-node-9f33ffbb8a9dcedb28ea909775a6b0d3
Earnapp:
  depends_on:
    - Portainer
    - Webserver
  image: fazalfarhan01/earnapp:lite
  volumes:
    - earnapp-data:/etc/earnapp
  restart: always
  environment:
    - EARNAPP_UUID=$EARNAPP_DEVICE_ID
  networks:
    default:
      ipv4_address: 172.106.0.20
# End of Earnapp section

Failed to create connection, with Repocket

Hi,

I can't get the Docker Repocket image to work in an Ubuntu VM on a Synology NAS even though everything seems ok directly with the Docker application on the same NAS. I get this logs :

2023-12-03T15:12:48.897430482Z PeerService(8148) -> Stop
2023-12-03T15:12:52.453736610Z PeerService(8148) -> Failed to create connection: [object Object]
2023-12-03T15:13:23.190560003Z PeerService(8148) -> Stop
2023-12-03T15:13:26.747998956Z PeerService(8148) -> Failed to create connection: [object Object]
2023-12-03T15:13:57.485276806Z PeerService(8148) -> Stop
2023-12-03T15:14:01.057003190Z PeerService(8148) -> Failed to create connection: [object Object]
2023-12-03T15:14:31.786254704Z PeerService(8148) -> Stop
2023-12-03T15:14:35.332793289Z PeerService(8148) -> Failed to create connection: [object Object]
2023-12-03T15:15:06.101980146Z PeerService(8148) -> Stop
2023-12-03T15:15:09.707664317Z PeerService(8148) -> Failed to create connection: [object Object]

Parameters and variables seem the same. Maybe there is a difference in the network management but I don't know what exactly.

Any ideas ?

Thank's

Error with PacketStream

Hello, for some weird reason, I am having issues with the PacketStream. When I checked the container logs, I see that it's spamming the following:
image
Do you know what's causing this?

Packetstream Out of Order??

Hi, I don't know about you, but I can no longer access the dashboard on packetstream.
I only get error 500 and can no longer request a payout...
Gone rogue?
Support does not respond...
Best regards!

Low income with Bitping

image

Hi,

Do you think it's normal to have so little income despite so many tests performed?
Have you noticed the same thing? Thank's

Question about VPS

Can't you run this on cheap VPS's? What's stopping people from having 50 VPS running with each running this and earning huge amounts per month? genuine question lol, not exactly sure how this works

Syn nas

Anyone who could explain me on how to install this on a synology nas?
Thx for this nice product!

Earnapp : no more docker / VM

Just seen this today :

Can I install EarnApp on a virtual machine (VM)?
Ricardo Seixas

Updated 2 days ago

Not yet followed by anyone

No, installing EarnApp on a Virtual Machine (VM) including docker containers is not allowed. If our system detects such usage, your account will be terminated without prior warning.


ref :

Notifications

ETHICAL USE

In line with our commitment to enforce ethical usage of our app we are implementing further changes to enhance the functionality of our network for the benefit of our genuine users.

As of today, the use of VMs, Proxies, and VPNs is prohibited.

For more detailed information, please refer to the following FAQ articles:
[Can I install EarnApp on a Virtual Machine (VM)?](https://help.earnapp.com/hc/en-us/articles/10199416541969-Can-I-install-EarnApp-on-a-virtual-machine-VM)
[Can I use Proxies or a VPN?](https://help.earnapp.com/hc/en-us/articles/10199339150609-Can-I-use-Proxies-or-VPN)
[Can I create multiple accounts?](https://help.earnapp.com/hc/en-us/articles/22066103746961-Can-i-create-multiple-accounts)

These adjustments are designed to ensure the smooth operation of our network, ultimately benefiting all our organic users. We aim to exclusively utilize Dynamic Residential IPs, typically provided by users` home Internet service providers or mobile data, with exception to users that may have a Static home IP which our system will be able to distinguish from a Proxy or VPN.

Last but not least we encourage you to review the "Restrictions" section of our terms of service (TOS) for further details: [EULA](https://earnapp.com/user-agreement)

Cannot start service Webserver on Digital Ocean Droplet

I am trying to get CashFactory to run on a Digital Ocean Droplet. I have followed the README and was able to complete all of the setup/install steps without any issues. However, when I try to spin up the docker container I am getting the following error:

sudo docker-compose up -d
# Status: Downloaded newer image for containrrr/watchtower:latest
# Creating cashfactory_Portainer_1 ... 
# Creating cashfactory_Webserver_1 ... 
# Creating cashfactory_Portainer_1
# Creating cashfactory_Webserver_1 ... error
# ERROR: for cashfactory_Webserver_1  Cannot start service Webserver: driver failed programming external connectivity on endpoint cashfactory_Webserver_1 (394cc2041f4a08141efdd22a3a1286e21135b539caba37a13c2c1ecCreating cashfactory_Portainer_1 ... done
# ERROR: for Webserver  Cannot start service Webserver: driver failed programming external connectivity on endpoint cashfactory_Webserver_1 (394cc2041f4a08141efdd22a3a1286e21135b539caba37a13c2c1eccacc8b18e): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
# ERROR: Encountered errors while bringing up the project.

Any troubleshooting to get this running on a Digital Ocean Droplet is appreciated! Here is some info about the droplet:

uname -a 
# Linux ubuntu-s-1vcpu-1gb-sfo2-01 4.15.0-159-generic #167-Ubuntu SMP Tue Sep 21 08:55:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Earnapp device id documentation

It would be helpful to include step-by-step instructions for retrieving the Earnapp device id. The current README requires that the user has prior knowledge of Docker and Portainer.

Installing Cashfactory inside a LXD on a Qnap NAS

Hello,

I am trying to install the Cashfactory stack inside a LXD Container (running Ubuntu 20.04) on a Qnap NAS.

I get this error every time I issue "sudo docker-compose up -d"

"ERROR: failed to register layer: ApplyLayer exit status 1 stdout: stderr: unlinkat /usr/share/doc/libseccomp2: invalid argument"

The path is different every time but the message is the same.

EDIT: This is an earnapp docker image problem

Proxyrack not starting

I totally forgot that my proxyrack shows (screenshot) and there is no option in the CF files to set the #uuid into (I guess next line to the api-key it should be going??)

grafik

Compatibly

Raspberry pi?

So I began running this on my old laptop and it works pretty well, I have a few raspberry pi's on the way (for other projects) but it got me thinking, if you got a raspberry pi 3b+ could you run it and get a 1 month ROI (return on investment)? I understand that raspberry pi's can run 32 or 64 bit operating systems but the arm processor is questionable. I also understand that some of the programs used do not support arm as well but you could add things like Mysterium.

Just a thought I thought would be worth sharing, please no hate.

bitping new ~get code

new get line for long time now, pls change in CF :)

docker run -it --mount type=volume,source="bitpingd-volume",target=/root/.bitpingd bitping/bitpingd:latest

and maybe take a look at there site and other os app changes, seems there happend a few changes in all os types...
it was at v0.9.830747851for a long time, and now it is already at v24.1.15.1

so idk how we missed that much updates from that app haha
i mean it makes sense now why there was zero to non income for so long now... :D

#BitpingApp/Bitping-Node@2e649ad

Repocket doesn't work with RP_PASSWORD

For it to work well, you have to use the RP_API_KEY variable and save the Api Key that appears on the page in it.

Extra: for Earnapp you can use uuidgen | md5sum and get a nearly unique ID.

uhttpd is deprecated

The repo was updated last 8 years ago, and docker wont even let me try to use it
image

`peer2profit/peer2profit_x86_64:latest` docker image doesn't exist anymore

Recently, I want to start my CashFactory in another new computer. But when I run docker-compose up -d, I got Error response from daemon: pull access denied for peer2profit/peer2profit_x86_64, repository does not exist or may require 'docker login': denied: requested access to the resource is denied error.

I then checked https://hub.docker.com/search?q=peer2profit, and I found that this image doesn't exist anymore.

So I copied peer2profit/peer2profit_x86_64:latest image in my old computer to lyenliang/peer2profit_x86_64. This solves the problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.