{"id":13467014,"url":"https://github.com/LennyPhoenix/GodotDiscordSDK","last_synced_at":"2025-03-26T00:31:50.532Z","repository":{"id":45473714,"uuid":"321776980","full_name":"LennyPhoenix/GodotDiscordSDK","owner":"LennyPhoenix","description":"A Discord Game SDK wrapper for Godot, written in C.","archived":true,"fork":false,"pushed_at":"2024-05-31T12:05:22.000Z","size":2189,"stargazers_count":54,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-29T20:34:14.607Z","etag":null,"topics":["c","discord-game-sdk","godot","godot-engine","hacktoberfest","scons","wrapper"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LennyPhoenix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-15T20:06:50.000Z","updated_at":"2024-05-31T12:13:12.000Z","dependencies_parsed_at":"2024-10-29T20:04:33.110Z","dependency_job_id":null,"html_url":"https://github.com/LennyPhoenix/GodotDiscordSDK","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LennyPhoenix%2FGodotDiscordSDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LennyPhoenix%2FGodotDiscordSDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LennyPhoenix%2FGodotDiscordSDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LennyPhoenix%2FGodotDiscordSDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LennyPhoenix","download_url":"https://codeload.github.com/LennyPhoenix/GodotDiscordSDK/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245566099,"owners_count":20636391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","discord-game-sdk","godot","godot-engine","hacktoberfest","scons","wrapper"],"created_at":"2024-07-31T15:00:52.284Z","updated_at":"2025-03-26T00:31:47.509Z","avatar_url":"https://github.com/LennyPhoenix.png","language":"C","funding_links":[],"categories":["Game SDK \u0026 RPC Bindings","Plugins and scripts","C"],"sub_categories":["3D"],"readme":"# Godot Discord Game SDK\n\n\u003e Notice 2024/05/31\n\u003e This project has remained largely untouched for a few years now, and I don't currently have the bandwidth for a rewrite, so I am choosing to archive it.\n\u003e If you would like to maintain the project, feel free to fork or send me an email.\n\n[![Windows](https://github.com/LennyPhoenix/GodotDiscordSDK/actions/workflows/windows-builds.yml/badge.svg?branch=main)](https://github.com/LennyPhoenix/GodotDiscordSDK/actions/workflows/windows-builds.yml)\n[![MacOS](https://github.com/LennyPhoenix/GodotDiscordSDK/actions/workflows/macos-builds.yml/badge.svg?branch=main)](https://github.com/LennyPhoenix/GodotDiscordSDK/actions/workflows/macos-builds.yml)\n[![Linux](https://github.com/LennyPhoenix/GodotDiscordSDK/actions/workflows/linux-builds.yml/badge.svg?branch=main)](https://github.com/LennyPhoenix/GodotDiscordSDK/actions/workflows/linux-builds.yml)\n\n**NOTE:** This wrapper is still under development.\n\n\u003e A Discord Game SDK wrapper for Godot, written using GDNative C for Windows, Linux and MacOS.\n\nMake sure to use the Release version of the library on Windows if you do not have the MS Build Tools installed, or [it will crash](https://github.com/LennyPhoenix/GodotDiscordSDK/issues/7).\n\n## Docs\n\nFor more detailed documentation and instructions, head to [the wiki](https://github.com/LennyPhoenix/GodotDiscordSDK/wiki).\n\n## Quickstart\n\nHead over to the [Project Template](https://github.com/LennyPhoenix/GodotDiscordSDK-ProjectTemplate) and follow the instructions in the README.\n\n## Downloading\n\nIf you can't or don't want to compile the library yourself head to [the actions page](https://github.com/LennyPhoenix/GodotDiscordSDK/actions), or download [a specific release](https://github.com/LennyPhoenix/GodotDiscordSDK/releases).\n\n## Compiling \u0026 Installing\n\n- Clone the repository: `git clone https://github.com/LennyPhoenix/GodotDiscordSDK.git`\n  - Update submodules:\n  \n  ```cmd\n  cd GodotDiscordSDK\n  git submodule update --init --recursive --remote\n  ```\n\n- Either:\n  - Run the setup script:\n\n    - Windows: `setup.bat`\n    - Linux/OSX: `sh setup.sh`\n\n  - Or manually setup:\n  \n    - Download the [Discord Game SDK (2.5.6)](https://dl-game-sdk.discordapp.net/2.5.6/discord_game_sdk.zip).\n\n    - Copy the `discord_game_sdk.h` file from the `c/` folder of the SDK, and place it in the [`src/`](src/) folder of the repo.\n\n    - On Windows:\n\n        - Place the `discord_game_sdk.dll.lib` file from the `lib/x86` folder of the SDK in the [`lib/`](lib/) of the repo and rename it to `discord_game_sdk.32.lib`.\n\n          Do the same with the `discord_game_sdk.dll.lib` file from the `lib/x86_64` folder, renaming it to `discord_game_sdk.64.lib`.\n          \n    - On Linux:\n\n        - Place the `discord_game_sdk.so` file from the `lib/x86_64` folder of the SDK in the [`lib/`](lib/) folder of the repo and rename it to `libdiscord_game_sdk.so`.\n\n    - On MacOS:\n\n        - Place the `discord_game_sdk.dylib` file from the `lib/x86_64` folder of the SDK in the [`lib/`](lib/) folder of the repo and rename it to `libdiscord_game_sdk.dylib`.\n\n    - Make sure to place the appropriate Discord Game SDK shared library in [the demo's bin directory](demo/bin/) (ensure it is also placed in any exports, this should be automatic if it is selected as a dependency).\n\n      These files can be retrieved from the `lib/x86` and `lib/x86_64` folders of the SDK. (`x86` being 32-Bit, and `x86_64` being 64-Bit)\n\n      \u003e NOTE: On Linux/OSX you may have to add `lib` to the beginning of these shared library's names.\n  \n- Install SCons: (If not already installed)\n  - Download and install [Python](https://python.org/downloads) (Make sure to add to PATH)\n  - Install SCons: `python -m pip install -U scons`\n  - (Optional) Reload your terminal to update the path variables.\n  \n- Compile the library:\n  - Windows Example: `scons platform=windows bits=64`\n  - Linux Example: `scons platform=linux`\n  - MacOS Example: `scons platform=osx`\n  \n- The compiled binaries will be available from [the demo's bin directory](demo/bin/).\n\n  **NOTE**: The output directory for the compiled binaries can be changed by passing the `target_path` parameter in `scons`, e.g `scons platform=windows bits=64 target_path=project/bin`\n\n- These may now be used in a GDNative library in your godot project. See [the demo project](demo/) for an example.\n\n- Ensure that the `.gdns` files are all located in the same folder as the `.gdnlib`'s folder, otherwise the library will not work.\n\n- All the classes required can be accessed from the `Discord` class as preloaded constants.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLennyPhoenix%2FGodotDiscordSDK","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLennyPhoenix%2FGodotDiscordSDK","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLennyPhoenix%2FGodotDiscordSDK/lists"}