Giter Site home page Giter Site logo

steamidler's Introduction

SteamIdler

Extremely light idler for steam that can easily run 24/7.
discord server Steam user badge Version Badge Version Badge

General information

Author

ZixeSea#1234 - Lead developer - github: ZixeSea

The project

This project has been created for me to easily run a steam idler 24/7 in the background without using many resources. this project has been put on hold for a long time until some people contacted me about it and because of it, I rewrote everything at 2022. With this rewrite, I also added things like randomGameIdle, randomTimeIdle, and parallelGameIdle up to 32 games at once (before it idled just a static list of games).

Required dependencies

steam-user - Allows interaction with the Steam network via the Steam client protocol.
time-stamp - Get a formatted timestamp.
asciiart-logo - renders a splash screen in text console with logo from ASCII characters.

License

This project is licensed under the MIT License - see the LICENSE file for details (deleting and/or modifying the license file after forking isn't allowed).


Table of contents

1. Preparations
    1.1. Requirements
    1.2. Get code

2. Config
    2.1. Idler config
    2.2. PM2 config

3. Linux
    3.1. Update system (L)
    3.2. Install Node.js (L)
    3.3. Start the bot (L)

4. Windows
    4.1. Install Node.js (W)
    4.2. Start the bot (W)


Preparations

Requirements

git command line (Windows|Linux|MacOS)
node version 14.17.3 or higher (expained later)
Steam account is also required (get here)

⚠️ WARNING ⚠️
If you have 2AF on for you steam account, you need to provide that too and app will ask for it while starting.

Get code

Run the following command in a CMD/terminal window in the location where you want the folder to be.

git clone https://github.com/ZixeSea/SteamIdler.git

⚠️ WARNING ⚠️
Remember to change the config file after getting the code otherwise, it won't work (more info here).


Config

Idler config

You can find the config file in the folder that was created in the previous step ("this one"), it should be in the folder "src/config" and there change the file "account.js".\

In the config file, there are 2 really important things that must be changed first, here is what they mean
username The username you use to login to steam
password The password you use to login to steam

Than there are sme addicinal thing you can config/change to make the idler work how you want it, and does are
statusInvisible If this is set to true it will show your account as offline instead of online
randomIdleGames If set to true, idleToIdle won't be used and it will randomly idle games
idleFreeGames If set to true the randomIdleGames will includes free to play games
parallelGameIdle The number of games it should idle at ones if using randomIdleGames (can been between 0 and 32)
staticIdleTime If set to 0 it will create a random number, else it will use this number (number must be in MS)
blacklist A list of games you don't want to idle if using randomIdleGames (use game IDs here)
SkipBannedGames If set to true it won't idle games your banned in while using randomIdleGames
idleToIdle Static list of games to idle, only gets used if randomIdleGames is false

Hereunder is an example config:

accOptions: {
	username: 'some username',
	password: 'some password',
	statusInvisible: false
},
idleOptions: {
	randomIdleGames: true,
	idleFreeGames: true,
	parallelGameIdle: 1, 
	staticIdleTime: 0,
	blacklist: [],
	SkipBannedGames: false,
	idleToIdle: [ 730, 570, 440 ]
}

Linux

⚠️ WARNING ⚠️
Everything in this section is based on a server running Ubuntu 18.04 without GUI, this bot and all commands mentioned here can be performed on another distro but the commands or steps may be slightly different.

Update system (L)

To make you get the most recent versions of any software you download, update your system first with the following command in a terminal window.

sudo apt update && sudo apt upgrade -y

Install Node.js (L)

Run the following 2 commands in a terminal window to install Node.js.

curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt install -y nodejs

Start the bot (L)

Open the folder you downloaded in the previous step ("this one"), and open a terminal window there and run the following 3 commands.

npm i
node .

Windows

⚠️ WARNING ⚠️
Everything in this section is based on a server running Windows 10, this bot and all commands mentioned here can be performed on another Windows version but the commands or steps may be slightly different.

Install Node.js (W)

Installing Node.js on windows is really easy, they have a normal installer for it and you can download it on their website (so it's simply clicking "next" and "ok").
Link: https://nodejs.org/en

Start the bot (W)

Open the folder you downloaded in the previous step ("this one"), and open a CMD window there and run the following 3 commands.

npm i
node .

steamidler's People

Contributors

zixesea avatar

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.