#cookies #roblox #env-var

bin+lib rbx_cookie

Access the ROBLOSECURITY cookie from your environment

5 releases

0.1.4 Oct 29, 2023
0.1.3 Aug 6, 2023
0.1.2 Aug 19, 2022
0.1.1 Jun 18, 2022
0.1.0 Jun 18, 2022

#244 in Games

Download history 73/week @ 2024-07-07 82/week @ 2024-07-14 178/week @ 2024-07-21 82/week @ 2024-07-28 217/week @ 2024-08-04 74/week @ 2024-08-11 144/week @ 2024-08-18 108/week @ 2024-08-25 72/week @ 2024-09-01 50/week @ 2024-09-08 100/week @ 2024-09-15 108/week @ 2024-09-22 85/week @ 2024-09-29 91/week @ 2024-10-06 178/week @ 2024-10-13 112/week @ 2024-10-20

472 downloads per month
Used in 5 crates (3 directly)

MIT license

18KB
363 lines

rbx_cookie

Finds the .ROBLOSECURITY cookie from either a ROBLOSECURITY environment variable or the authenticated local Roblox Studio installation (works for Windows and MacOS). Available as both a library and CLI.

CLI

Install with cargo install rbx_cookie.

rbx_cookie --help

Library

Disable default features to exclude the CLI dependencies with cargo add rbx_cookie --no-default-features, or use the default-features = false configuration:

# Cargo.toml
[dependencies]
rbx_cookie = { version = "<version>", default-features = false }
// Returns the cookie as a formatted header ready to add to a request
let cookie = rbx_cookie::get();

// Returns the raw cookie value
let cookie = rbx_cookie::get_value();

Dependencies

~2–11MB
~127K SLoC