Dataset Viewer
The dataset viewer is not available for this dataset.
Unexpected token '<', "<html>
<h"... is not valid JSON
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Godot GDscript Code Dataset
This dataset contains GDScript code from 5k+ github repositories. Data from each repo has been extracted into a text file. Each text file contains the code from all .gd files & README.md text (if the README was not empty in the original repo).
Original forum post:
https://diffused.to/Thread-Godot-GDscript-Code-Dataset-5k
Dataset collection date
June 2025
Dataset structure:
π files/
βββ repo-name-1.txt
βββ repo-name-2.txt
βββ repo-name-3.txt
βββ ....
Total data:
5,172 (660 MB)
Data format
Each txt file has the following format:
Godot project
### Name: <repo name>
### Godot version: <3/4>
### Directory structure:
βββ Assets/
β βββ Rain.glb
β βββ alienB.png
β βββ player.glb
β βββ skin.material
βββ Blender/
β βββ RagDoll.blend
β βββ Rain.blend
βββ Game.tscn
βββ Player/
β βββ Player.gd
β βββ Player.tscn
βββ README.md
βββ default_env.tres
βββ icon.png
βββ project.godot
### Files:
File name: README.md
```markdown
<Repo readme here>
```
File name: Player/Player.gd
```gdscript
extends KinematicBody
onready var Camera = get_node("/root/Game/Camera")
var velocity = Vector3()
var gravity = -9.8
```
File name: file2.gd
```gdscript
<...>
```
File name: file3.gd
```gdscript
<...>
```
- Downloads last month
- 11,209