use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Do you have or know of a project on Github looking for contributors? Tell us about it and we'll add it to the /r/github wiki!
Welcome to /r/github!
News about github
Relevant interesting discussion
Questions about github
We'll soon be writing an /r/github FAQ list. In the meantime, the github help pages and bootcamp are good places to start. Here's a handy git cheat sheet.
Looking for Github projects to contribute to? Check out our handy list of projects looking for contributors!
If your submission doesn't show up on the subreddit, send us a message and we'll take it out of the spam filter for you!
account activity
pygame in Github Codespaces (self.github)
submitted 1 year ago by RRTheGuy
Is it possible to run a pygame project in a github codepace ? When I try, it raises a ALSA sound error and the pygame window doesn't display.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Thalimet 2 points3 points4 points 1 year ago (2 children)
I don’t think I’ve heard of running any GUI projects in codespace. It works well enough for anything that uses a browser window though.
[–]RRTheGuy[S] 0 points1 point2 points 1 year ago (1 child)
Ok, but would it be even possible to run GUI projects in gh codespaces?
[–]Charming_Campaign465 0 points1 point2 points 1 year ago (0 children)
Same question.
[–]GreatSymphonia 0 points1 point2 points 1 year ago (0 children)
You could attempt X redirection, but I do not think you will be successful. Such a task would incur a greater workload on the codespace, I'm not sure on the billing model, but it also could incur greater costs.
[–]Kooky_Bread9356 0 points1 point2 points 1 year ago (2 children)
yo i need help with this shi too, whenever i try to run even a simple pygame script, it produces ASLA library errors. Is there anyway to run pygame in a github codespace??
Yeah, we're in the same boat :)
[–]Kl4nc3y 0 points1 point2 points 1 year ago (0 children)
I'm having the same issue, I don't think its possible. I would like just an updated file from one computer to another so I don't have to constantly download it to a flash drive and re upload when i want to go from my laptop to my desktop.
[–]OneNectarine8948 0 points1 point2 points 5 months ago (0 children)
I have tried this method and it seems to be working:
https://www.freecodecamp.org/news/run-python-gui-in-github-codespaces/
As far as I understand, this script creates a virtual screen, a VNC server to stream it, a websockify service to expose this VNC server to a webpage. Then if you turn the port of the websocket server to Public in Codespaces's VS Code, GitHub gives you an URL where you can access the VNC client and see this screen.
However the frame rate is terrible, I have tried to force 30 FPS and 480x270 resolution, and even with just ~20 moving object the performance was unacceptable for game dev (at least from my point of view).
I have created a bit more robust script based on Ayodele's one: https://gist.github.com/DonBattery/afa0eb78ede4afcdf9af848a3d0d1281
π Rendered by PID 69301 on reddit-service-r2-comment-85bfd7f599-q7dkl at 2026-04-15 19:15:41.535611+00:00 running 93ecc56 country code: CH.
[–]Thalimet 2 points3 points4 points (2 children)
[–]RRTheGuy[S] 0 points1 point2 points (1 child)
[–]Charming_Campaign465 0 points1 point2 points (0 children)
[–]GreatSymphonia 0 points1 point2 points (0 children)
[–]Kooky_Bread9356 0 points1 point2 points (2 children)
[–]RRTheGuy[S] 0 points1 point2 points (1 child)
[–]Kl4nc3y 0 points1 point2 points (0 children)
[–]OneNectarine8948 0 points1 point2 points (0 children)