Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scholtzm/vapor
☁️ Lightweight Steam client framework for node.js
https://github.com/scholtzm/vapor
automation bot client framework nodejs steam steam-client
Last synced: 3 months ago
JSON representation
☁️ Lightweight Steam client framework for node.js
- Host: GitHub
- URL: https://github.com/scholtzm/vapor
- Owner: scholtzm
- License: mit
- Created: 2015-05-29T13:11:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-11T13:20:49.000Z (almost 8 years ago)
- Last Synced: 2024-07-09T04:11:36.917Z (4 months ago)
- Topics: automation, bot, client, framework, nodejs, steam, steam-client
- Language: JavaScript
- Homepage:
- Size: 291 KB
- Stars: 107
- Watchers: 13
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-steam - vapor - Lightweight Steam client framework. (Packages / Node.js)
README
"Lightweight Steam client framework for node.js"---
---
## About
Vapor is a lightweight Steam client framework for [node.js](https://github.com/nodejs/node) which provides unified API for writing custom extensions. Vapor takes care of the basic stuff such as maintaining connection, logging in and exposes simple API which allows custom plugins to extend its behaviour.
## Install
```sh
npm install vapor
```## Usage
```js
var vapor = require('vapor');var bot = vapor();
bot.init({username: 'myUsername', password: 'myPassword'});
bot.connect();
```## Client
Vapor provides a very simple automated client. This client uses [node-steam](https://github.com/seishun/node-steam) to connect to Steam servers.
Vapor provides several key features:
- handles log in process, including auth codes and sentry files
- provides API for plugins
- provides unified logging interface
- provides a bunch of [built-in plugins](docs) to make your life easierEverything else needs to be programmed separately using plugin system.
## Plugins
Plugins are self-contained code snippets which extend Vapor's behaviour.
Plugins have:
- access to active Steam client instance and handlers
- access to Steam's enumsThey can:
- emit custom events
- listen to events
- have their own configuration
- store data
- and more ...Plugins are entirely event driven, there are no hard dependencies. Each plugin can emit an event and any plugin may register a callback for such event. This architecture allows your code to be modular and decoupled.
## More information
Visit this repo's Wiki for more information regarding installation, configuration, API, plugins, etc.
Examples are provided in the [examples](examples) folder.
You can also find auto-generated API docs in the [docs](docs) folder.
## LICENSE
MIT. See `LICENSE`.