Commit Graph

961 Commits

Author SHA1 Message Date
marios 5e9c12bac8 Python rewrite (#6)
* Initial commit. Untested

* various fixes

Core functionality confirmed working:
 - Iframe injection into steam client
 - Plugin fetching from the iframe
 - Plugin opening

* Added function to fetch resources from steam

* Improved injector module, added server-js communication

- Injector module now has methods for better lower-level manipulation of the tab debug websocket.
- Our "front-end" can now communicate with the manager (2-way), completely bypassing the chromium sandbox. This works via a dirty debug console trick, whoever wants to know how it works can take a look at the code.
- Added utility methods file, along with an implementation of the aiohttp client that our "front-end" can access, via the system described above.
- Added js implementations of the communication system described above, which can be imported by plugins.

* Added steam_resource endpoint

* Added basic installer script

* retry logic bug fix

* fixed library injection, event propagation, websocket handling

- library is injected directly into the plugins as well as the plugin list
- resolveMethodCall is implemented in the plugin_list.js file, which in turns calls window.sendMessage on the iframe to propagate the event
- websocket method calls are processed in their own tasks now, so as not to block on long-running calls.

Co-authored-by: tza <tza@hidden>
Co-authored-by: WerWolv <werwolv98@gmail.com>
2022-04-03 23:50:26 +03:00
WerWolv fb6f55a44d git: Removed old funding info 2022-04-02 15:40:10 +02:00
WerWolv 88e779db88 git: Added license 2022-04-01 16:50:41 +02:00
WerWolv 4caa8deb22 sys: Added comments 2022-03-31 16:09:56 +02:00
WerWolv 93fe5a7893 git: Added funding file 2022-03-31 16:03:27 +02:00
WerWolv 661e9aac7d plugin: Added template plugin 2022-03-31 15:55:40 +02:00
WerWolv 545c322594 serv: Added systemd service file 2022-03-31 15:52:33 +02:00
WerWolv 9bebfdf4fc git: Added proper readme 2022-03-31 15:48:20 +02:00
WerWolv 4c5ca4e567 sys: Added basic plugin loader 2022-03-31 15:28:40 +02:00
WerWolv a38e03094b sys: Added initial code injection logic 2022-03-31 08:31:03 +02:00
WerWolv 807acfa8b4 Initial commit 2022-03-31 08:29:28 +02:00