gitwtfhub

wtf is greenworks?

torch2424/greenworks — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2017-12-02

1C++Audience · developerComplexity · 3/5DormantSetup · moderate

TL;DR

A Node.js addon that lets NW.js/Electron games call Steam's API in JavaScript, so web-based games get achievements, playtime tracking, and other Steam features.

Mindmap

mindmap
  root((repo))
    What it does
      Steam API bridge
      Achievements
      Playtime tracking
      Badges
    Tech stack
      C++
      JavaScript
      Node.js
      NW.js
      Electron
    Use cases
      Ship a web-based game on Steam
      Add achievements
      Track playtime
    Audience
      Indie developers
      Small studios
    Notable
      Built for Game Dev Tycoon
      Battle-tested

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Add Steam achievements and badges to an NW.js or Electron game without rewriting it in another language.

REASON 2

Track player playtime and other Steam stats from JavaScript game code.

REASON 3

Ship an indie game built with web technologies onto the Steam platform.

What's in the stack?

C++JavaScriptNode.jsNW.jsElectron

How it stacks up

torch2424/greenworksallentdan/shape_based_matchingbenagastov/bindweb-nim-wasm-compiler
Stars111
LanguageC++C++C++
Last pushed2017-12-022019-03-01
MaintenanceDormantDormant
Setup difficultymoderatemoderateeasy
Complexity3/53/55/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 1h+

Requires an NW.js or Electron game and a Steam developer account, setup details live in the docs folder, not the README.

Yoink these prompts

Prompt 1
Show me how to install greenworks as a Node.js addon in my Electron game.
Prompt 2
Help me wire up Steam achievements in my NW.js game using greenworks.
Prompt 3
What Steam features can I access through greenworks, and how do I call them from JavaScript?
Prompt 4
Walk me through setting up greenworks for a game originally built without Steam integration.

Frequently asked questions

wtf is greenworks?

A Node.js addon that lets NW.js/Electron games call Steam's API in JavaScript, so web-based games get achievements, playtime tracking, and other Steam features.

What language is greenworks written in?

Mainly C++. The stack also includes C++, JavaScript, Node.js.

Is greenworks actively maintained?

Dormant — no commits in 2+ years (last push 2017-12-02).

How hard is greenworks to set up?

Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.

Who is greenworks for?

Mainly developer.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.