Web - AlsoGhostglowDev/Ghost-s-Utilities GitHub Wiki
a Tool for interacting with the web.
local web = require 'ghostutil.web'getDataFromUrl(url: string): stringFetches data from the specified URL.
(Aliases: getDataFromWeb, getDataFromWebsite)
Parameters:
-
url: The URL of the target website to fetch the data from.
Returns: The fetched website's data in string if available.
View Example
-- trying to fetch Psych Engine's current version:
-- returns "1.0.4"
web.getDataFromUrl('https://raw.githubusercontent.com/ShadowMario/FNF-PsychEngine/refs/heads/main/gitVersion.txt')─────────────────────────
loadBrowser(url: string): voidOpens the website using user's default browser with the given URL.
(Aliases: loadURL)
Parameters:
-
url: The URL of the website to open.
View Example
-- this will try to load YouTube on your default browser.
web.loadBrowser('https://youtube.com')
GhostUtil 3.0.0 • Docs 3.0.0, Revision 1
a Lua Library made by GhostglowDev; for Psych Engine
© 2025 GhostglowDev — Ghost's Utilities
Licensed under the MIT License.