Dataset Viewer
Auto-converted to Parquet Duplicate
repo_path
stringlengths
7
59
repo_id
int64
25.2k
1.02B
commit_id
stringlengths
40
40
file_path
stringlengths
4
213
language
stringclasses
2 values
content
stringlengths
9
2.67M
readme
stringlengths
2
113k
size_bytes
int32
9
2.67M
license_type
stringclasses
1 value
detected_licenses
listlengths
1
3
luau_syntax_score
int32
0
17
roblox_api_score
int32
0
62
from_roblox_flagged_repo
bool
1 class
admission_reason
stringclasses
3 values
file_type
stringclasses
2 values
WongJoeShen/KC-RobloxNPC
927,533,029
39e7f13a35d380c878958dd9cd0065b3903ea249
sensor/spawnscript.luau
Luau
local ReplicatedStorage = game:GetService("ReplicatedStorage") local sensor = script.Parent -- Sensor part local spawnPartTemplate = ReplicatedStorage:FindFirstChild("SpawnPart") -- Transparent part with decal local footsteps = {} -- Track footsteps per player local FOOTSTEP_THRESHOLD = 9 -- Number of footsteps b...
# KC-RobloxNPC ## Description This project integrates an AI-powered Trainer NPC in Roblox using Google Gemini 2.0 Flash Experimental. The NPC can answer user queries, provide programming guidance, and interact dynamically using an external API. The API is hosted separately via a Node.js server, ensuring real-time respo...
1,655
permissive
[ "Apache-2.0" ]
0
11
false
pure_luau_tag
luau
WongJoeShen/KC-RobloxNPC
927,533,029
39e7f13a35d380c878958dd9cd0065b3903ea249
cleanernpc/chat.luau
Luau
local npc = script.Parent local humanoid = npc:FindFirstChild("Humanoid") local chatService = game:GetService("Chat") local players = game:GetService("Players") local replicatedStorage = game:GetService("ReplicatedStorage") local chatRange = 10 -- Maximum distance for players to trigger chat local cleanedBlocks = 0 --...
# KC-RobloxNPC ## Description This project integrates an AI-powered Trainer NPC in Roblox using Google Gemini 2.0 Flash Experimental. The NPC can answer user queries, provide programming guidance, and interact dynamically using an external API. The API is hosted separately via a Node.js server, ensuring real-time respo...
2,347
permissive
[ "Apache-2.0" ]
1
11
false
pure_luau_tag
luau
WongJoeShen/KC-RobloxNPC
927,533,029
39e7f13a35d380c878958dd9cd0065b3903ea249
teleporter/teleporter.luau
Luau
-- Get the TeleportService, which allows teleporting players to other games local TeleportService = game:GetService("TeleportService") -- Set the ID of the game to teleport to. Replace with your actual game ID local gameID = 17244533263 -- Function that runs when something touches the part with this script function ...
# KC-RobloxNPC ## Description This project integrates an AI-powered Trainer NPC in Roblox using Google Gemini 2.0 Flash Experimental. The NPC can answer user queries, provide programming guidance, and interact dynamically using an external API. The API is hosted separately via a Node.js server, ensuring real-time respo...
769
permissive
[ "Apache-2.0" ]
0
9
false
pure_luau_tag
luau
WongJoeShen/KC-RobloxNPC
927,533,029
39e7f13a35d380c878958dd9cd0065b3903ea249
src/server/server.server.luau
Luau
--[[ NPC Chatbot Script (Roblox) - Listens for player messages - Sends messages to a remote AI API - Displays AI responses as NPC dialogue --]] -- SERVICES -- local c = game:GetService("Chat") -- Chat service for displaying NPC dialogue local HS = game:GetService("HttpService") -- HttpService for send...
# KC-RobloxNPC ## Description This project integrates an AI-powered Trainer NPC in Roblox using Google Gemini 2.0 Flash Experimental. The NPC can answer user queries, provide programming guidance, and interact dynamically using an external API. The API is hosted separately via a Node.js server, ensuring real-time respo...
2,572
permissive
[ "Apache-2.0" ]
0
9
false
pure_luau_tag
luau
WongJoeShen/KC-RobloxNPC
927,533,029
39e7f13a35d380c878958dd9cd0065b3903ea249
sensor/sensorscript.luau
Luau
-- This script should be added as a child of the Sensor block -- -- Get the parent of this script, which is the part acting as the sensor local sensor = script.Parent -- When something touches the sensor part, this function is triggered sensor.Touched:Connect(function(hit) -- Print the name of the object that touched...
# KC-RobloxNPC ## Description This project integrates an AI-powered Trainer NPC in Roblox using Google Gemini 2.0 Flash Experimental. The NPC can answer user queries, provide programming guidance, and interact dynamically using an external API. The API is hosted separately via a Node.js server, ensuring real-time respo...
495
permissive
[ "Apache-2.0" ]
0
4
false
pure_luau_tag
luau
WongJoeShen/KC-RobloxNPC
927,533,029
39e7f13a35d380c878958dd9cd0065b3903ea249
cleanernpc/pathfinding.luau
Luau
local RunService = game:GetService("RunService") local ServerStorage = game:GetService("ServerStorage") local ReplicatedStorage = game:GetService("ReplicatedStorage") local SimplePath = require(ServerStorage.SimplePath) local npc = script.Parent local root = npc:FindFirstChild("HumanoidRootPart") local humanoid = npc:...
# KC-RobloxNPC ## Description This project integrates an AI-powered Trainer NPC in Roblox using Google Gemini 2.0 Flash Experimental. The NPC can answer user queries, provide programming guidance, and interact dynamically using an external API. The API is hosted separately via a Node.js server, ensuring real-time respo...
3,284
permissive
[ "Apache-2.0" ]
0
16
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/universes/places/init.luau
Luau
return { versions = require("./versions"), }
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
46
permissive
[ "Apache-2.0" ]
0
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
tests/place-v2.lune.luau
Luau
--!strict -- Services -- Packages local luneUtil = require("@pkg/@nightcycle/lune-util") local err = require("@pkg/@nightcycle/error") local option = require("@pkg/@nightcycle/option") -- Modules local places = require("../src/apis/cloud/v2/universes/places") -- Types -- Constants local PLACE_ID = tonumber(luneUtil.Env...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
1,003
permissive
[ "Apache-2.0" ]
6
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/CONSTANTS.luau
Luau
--!strict -- Services -- Packages -- Modules -- Types -- Constants -- Variables -- References -- Private Functions -- Class return table.freeze({ OPEN_CLOUD_BASE_URL = "https://apis.roblox.com", })
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
199
permissive
[ "Apache-2.0" ]
4
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/universes/standardDatastores/datastore/entries/entry/versions/version.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local reqwest = require("@pkg/@nightcycle/reqwest") -- Modules local client = require("../../../../../../../../../client") -- Constants local CONS...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
1,553
permissive
[ "Apache-2.0" ]
10
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v2/universes/places/instances/instance/init.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
2,533
permissive
[ "Apache-2.0" ]
10
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
tests/messaging-service-v1.lune.luau
Luau
--!strict -- Services -- Packages local luneUtil = require("@pkg/@nightcycle/lune-util") local err = require("@pkg/@nightcycle/error") -- Modules local messagingService = require("../src/apis/cloud/v1/universes/messagingService") -- Types -- Constants local UNIVERSE_ID = tonumber(luneUtil.Env["UNIVERSE_ID"]:expect(`UNI...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
624
permissive
[ "Apache-2.0" ]
6
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/assets/operations.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
2,752
permissive
[ "Apache-2.0" ]
10
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
tests/universe-v2.lune.luau
Luau
--!strict -- Services -- Packages local luneUtil = require("@pkg/@nightcycle/lune-util") local err = require("@pkg/@nightcycle/error") -- Modules local universes = require("../src/apis/cloud/v2/universes") local universesPublishMessage = require("../src/apis/cloud/v2/universes/publishMessage") local universesRestartSe...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
1,277
permissive
[ "Apache-2.0" ]
6
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/universes/places/versions.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
1,783
permissive
[ "Apache-2.0" ]
10
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/universes/standardDatastores/datastore/entries/init.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
2,641
permissive
[ "Apache-2.0" ]
10
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v2/universes/places/instances/instance/operation.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
2,385
permissive
[ "Apache-2.0" ]
7
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v2/universes/places/luauExecutionSessionTasks/init.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
2,420
permissive
[ "Apache-2.0" ]
8
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/assets/asset/init.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
4,801
permissive
[ "Apache-2.0" ]
10
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v2/universes/publishMessage.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
1,618
permissive
[ "Apache-2.0" ]
8
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/universes/orderedDatastores/scopes/entries/init.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
4,676
permissive
[ "Apache-2.0" ]
10
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
tests/publish-place-v1.lune.luau
Luau
--!strict -- Services local fs = require("@lune/fs") -- Packages local luneUtil = require("@pkg/@nightcycle/lune-util") local err = require("@pkg/@nightcycle/error") -- Modules local placesVersions = require("../src/apis/cloud/v1/universes/places/versions") -- Types -- Constants local PLACE_ID = tonumber(luneUtil.Env["...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
951
permissive
[ "Apache-2.0" ]
6
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
tests/standard-datastores-v1.lune.luau
Luau
--!strict -- Services -- Packages local luneUtil = require("@pkg/@nightcycle/lune-util") local err = require("@pkg/@nightcycle/error") local option = require("@pkg/@nightcycle/option") local vec = require("@pkg/@nightcycle/vec") -- Modules local standardDatastores = require("../src/apis/cloud/v1/universes/standardDatas...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
3,622
permissive
[ "Apache-2.0" ]
6
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/universes/standardDatastores/init.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local err = require("@pkg/@nightcycle/error") local reqwest = require("@pkg/@nightcycle/reqwest") -- Modules local client = require("../../../../.....
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
1,815
permissive
[ "Apache-2.0" ]
10
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
tests/luau-execution-v2.lune.luau
Luau
--!strict -- Services local fs = require("@lune/fs") -- Packages local luneUtil = require("@pkg/@nightcycle/lune-util") local err = require("@pkg/@nightcycle/error") local option = require("@pkg/@nightcycle/option") -- Modules local luauExecutionSessionTasks = require("../src/apis/cloud/v2/universes/places/luau-execut...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
1,739
permissive
[ "Apache-2.0" ]
6
2
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v2/universes/places/instances/listChildren/operation.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
1,811
permissive
[ "Apache-2.0" ]
7
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
tests/ordered-datastores-v1.lune.luau
Luau
--!strict -- Services -- Packages local luneUtil = require("@pkg/@nightcycle/lune-util") local err = require("@pkg/@nightcycle/error") local option = require("@pkg/@nightcycle/option") -- Modules local orderedDatastoresScopesEntries = require("../src/apis/cloud/v1/universes/orderedDatastores/scopes/entries") local ord...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
2,081
permissive
[ "Apache-2.0" ]
6
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/assets/asset/versions/rollback.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
1,672
permissive
[ "Apache-2.0" ]
8
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/universes/orderedDatastores/scopes/entries/entry/init.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
3,235
permissive
[ "Apache-2.0" ]
10
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/universes/standardDatastores/datastore/entries/entry/init.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
7,154
permissive
[ "Apache-2.0" ]
10
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
tests/data/luau-test.luau
Luau
print("Hello world!") return { 1 :: any, "a", true }, "abc", 123, true
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
71
permissive
[ "Apache-2.0" ]
2
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v2/universes/places/instances/init.luau
Luau
return { instance = require("./instance"), listChildren = require("./listChildren"), }
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
89
permissive
[ "Apache-2.0" ]
0
0
false
pure_luau_tag
luau
nightcycle/roblox-api-library
968,885,870
cb1752d44b857faffa4f422ea18f1f0503712c3e
src/apis/cloud/v1/assets/asset/versions/init.luau
Luau
--!strict -- Packages local result = require("@pkg/@nightcycle/result") local option = require("@pkg/@nightcycle/option") local future = require("@pkg/@nightcycle/future") local hashMap = require("@pkg/@nightcycle/hash-map") local vec = require("@pkg/@nightcycle/vec") local vecDeque = require("@pkg/@nightcycle/vec-dequ...
# roblox-wep-api-library An effort to port the official Roblox web apis on both npm and wally. ## coverage There are many APIs, and frankly I will never use most of them - especially on the legacy side. Here's a summary: - Open Cloud V1: all of em! - Open Cloud V2: mostly universe/place ones - Legacy: nothing! Thi...
1,990
permissive
[ "Apache-2.0" ]
8
0
false
pure_luau_tag
luau
End of preview. Expand in Data Studio

Luau / Roblox Corpus

An openly-licensed dataset of Luau and Roblox-flavored Lua source code, built from The Stack v3 (revision ef074e272dd3e5e75c4d78e62d6483ec9281a77d).

What's in it

This dataset combines two sources of Luau/Roblox code:

  1. Pure Luau: files The Stack v3's own language classifier already tagged as Luau with high confidence. Included unconditionally, with no score-based filtering.
  2. Extracted Roblox/Luau candidates: files tagged generic Lua by the classifier, but heuristically identified as Roblox/Luau code anyway (mixed .lua/.luau repos and older tooling frequently cause classifiers to miss real Luau code this way, see file_type below).

Why two sources instead of one classifier pass

Language classifiers built for general-purpose code are not Luau-aware in a robust way, and Roblox development in particular tends to produce repos with inconsistent file extensions and mixed tooling. Relying solely on the upstream language tag would silently drop a meaningful amount of genuine Roblox/Luau code that happens to be tagged Lua. This dataset closes that gap with an explicit, score-based heuristic pass, while still trusting the classifier's confident Luau tags outright.

file_type column — how to filter without losing pure Luau

This is the column to filter on, not the score columns.

file_type Meaning
luau Confidently tagged Luau by the upstream classifier. Always included, regardless of score.
lua Tagged generic Lua upstream, but heuristically admitted as Roblox/Luau code via pattern scoring or a Roblox marker file in the repo.

Why not just filter on score?

It's tempting to assume "score 0 means pure Luau" or "higher score = more confident," but score does not reliably indicate origin in either direction:

  • A pure Luau file can legitimately score 0 on roblox_api_score — a small math/utility module never calls game:GetService(...), but it's still 100% genuine Luau.
  • An extracted Lua-tagged file can score just as high, or higher, than some pure Luau files, depending on how much Roblox-specific API surface it happens to touch.

Score reflects content, file_type reflects origin. If you filter by score alone (e.g. "keep only rows with luau_syntax_score >= 3"), you will silently drop pure Luau files that had no reason to score highly on that particular pattern set — even though they are unambiguously real Luau code.

Correct pattern, if you want to apply a stricter score threshold to the heuristically-extracted rows while always keeping every pure Luau file:

SELECT *
FROM luau_full_corpus_open_license.parquet
WHERE file_type = 'luau'
   OR luau_syntax_score >= 3
   OR roblox_api_score  >= 3

Incorrect pattern (silently drops legitimate pure Luau files):

-- DON'T do this
SELECT * FROM luau_full_corpus_open_license.parquet WHERE luau_syntax_score >= 3

Columns

Column Type Description
repo_path string Owner/repo, e.g. evaera/roblox-lua-promise
repo_id string Internal Stack v3 repo identifier
commit_id string Commit hash the file was pulled from
file_path string Path to the file within the repo
language string Upstream classifier's tag (Lua or Luau); origin signal, kept for reference; use file_type for filtering instead
content string Full source code text
readme string null
size_bytes int File size in bytes
license_type string Always permissive in this dataset — see "License" below
detected_licenses list[string] The specific detected license(s) for the file, e.g. ["Apache-2.0"]. See "License" below; this is the field to check before reusing any individual file.
luau_syntax_score int Heuristic score from Luau-specific syntax patterns (e.g. --!strict, type X = ...). Metadata only; not used to admit/reject file_type = 'luau' rows.
roblox_api_score int Heuristic score from Roblox API usage patterns (e.g. game:GetService(, Instance.new(). Same caveat as above.
from_roblox_flagged_repo bool true if the repo contains a Roblox marker file (e.g. wally.toml, .rbxl)
admission_reason string Why the row was included: pure_luau_tag, roblox_marker_repo, luau_syntax_score, or roblox_api_score
file_type string luau (pure, always included) or lua (heuristically extracted). Use this column to filter.

License

This dataset compilation, the selection, filtering, deduplication logic, and added columns (file_type, admission_reason, computed scores) — is released under the Open Data Commons Attribution License (ODC-By) v1.0: https://opendatacommons.org/licenses/by/1-0/

This matches the license Stack v3 itself uses for the same reason: ODC-By covers rights over the compilation as a database, the act of collecting, selecting, and arranging this data, it does not and cannot grant rights over the underlying copyrighted content of each individual file.

Every individual file in this dataset keeps its own original author's license. Only files with a confirmed permissive license are included: every row has license_type = 'permissive', but that still spans at least 27 distinct license identifiers (Apache-2.0, Unlicense, CC0-1.0, WTFPL, MIT, and others, check detected_licenses per row). Aggregating code into a dataset does not relicense it: an Apache-2.0 file is still Apache-2.0 after being included here, and using that file is still subject to whatever its original license requires (in most cases, attribution).

repo_path, commit_id, and detected_licenses are kept on every row specifically so this provenance can always be traced back and honored — check detected_licenses for the specific file before reusing its code.

Known limitations

  • No deduplication. Forks, near-identical copies, and reuploaded repos are not collapsed. If you need a deduplicated set, dedupe on content hash or (repo_path, file_path) before training.
  • No quality filtering. Trivial snippets, generated code, and test fixtures are not excluded.
  • readme coverage is partial for some rows. Some rows may have readme = null even where a README exists upstream, depending on when the underlying file was originally fetched.
  • Heuristic thresholds are approximate. The lua-origin rows are admitted via pattern-matching, not a verified classifier: expect some false positives (generic Lua that happens to mention a matching pattern) and some false negatives (genuine Roblox code that didn't hit any pattern).
  • A small number of detected_licenses values are non-standard identifiers (LicenseRef-scancode-*: ScanCode's label for licenses it detected but couldn't map to a standard SPDX identifier). These are a very small fraction of the dataset; check detected_licenses if this matters for your use case.

Provenance

Built from The Stack v3, pinned to a single frozen revision for reproducibility, then filtered to files with a confirmed permissive license only.

Downloads last month
51