Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notnite/rockstar
lua scripting tool that gives you social anxiety
https://github.com/notnite/rockstar
Last synced: 4 days ago
JSON representation
lua scripting tool that gives you social anxiety
- Host: GitHub
- URL: https://github.com/notnite/rockstar
- Owner: NotNite
- License: mit
- Created: 2022-12-31T00:45:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-05T20:09:39.000Z (10 months ago)
- Last Synced: 2024-05-01T17:34:43.678Z (7 months ago)
- Language: Rust
- Size: 114 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# rockstar
rockstar is a lua scripting tool. i like to think of it as an AHK replacement, but with a better language (insert your lua bad joke here)
## using
run `rockstar path/to/script.lua` to run a script.
after your script evaluates, rockstar will start emitting events to the callbacks you register in your script. from here, you can access state in the `rockstar` global.
your script will not receive events or state updates until after the evaluation completes (e.g. `rockstar.mouse.left_pressed` will be `false` until after your script evaluates).
to access a REPL, pass `-r` or `--repl`.
for more information, see [the docs](DOCS.md).