{"id":28138782,"url":"https://github.com/sanix-darker/castthat","last_synced_at":"2026-04-16T15:32:47.128Z","repository":{"id":292803339,"uuid":"981715580","full_name":"Sanix-Darker/castthat","owner":"Sanix-Darker","description":"Cast an area of your screen over network with a single bash script","archived":false,"fork":false,"pushed_at":"2025-05-24T14:57:42.000Z","size":274,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T07:03:04.649Z","etag":null,"topics":["display","linux","rtmp-server","rtmp-stream","x11"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sanix-Darker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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,"zenodo":null}},"created_at":"2025-05-11T18:22:48.000Z","updated_at":"2025-05-18T21:58:38.000Z","dependencies_parsed_at":"2026-02-26T16:01:38.006Z","dependency_job_id":null,"html_url":"https://github.com/Sanix-Darker/castthat","commit_stats":null,"previous_names":["sanix-darker/castthat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sanix-Darker/castthat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sanix-Darker%2Fcastthat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sanix-Darker%2Fcastthat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sanix-Darker%2Fcastthat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sanix-Darker%2Fcastthat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sanix-Darker","download_url":"https://codeload.github.com/Sanix-Darker/castthat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sanix-Darker%2Fcastthat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31892249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T11:36:10.202Z","status":"ssl_error","status_checked_at":"2026-04-16T11:36:09.652Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["display","linux","rtmp-server","rtmp-stream","x11"],"created_at":"2025-05-14T17:14:58.582Z","updated_at":"2026-04-16T15:32:47.107Z","avatar_url":"https://github.com/Sanix-Darker.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## CASTHAT\n\n![screenshot](./screen.jpg)\n\nA basic script to stream an area of your screen over network accessible via http/tcp/udb (locally or over internet).\n\n## REQUIREMENTS\n\n- Any rtmp/rtsp server (in my case i used the docker mediamtx)\n- [ffmpeg](https://ffmpeg.org)\n- [slop](https://github.com/naelstrof/slop) (To select, drag to extract X, Y, W, H coordinates) for the portion of the screen that will be extract from display by ffmpeg.\n\n## HOW TO RUN CASTTHAT\n\n### NO DOCKER\n\n```console\n# First, start the mediamtx docker (or any other rtsp/rtmp server)\n$ docker run --rm -it --network=host bluenviron/mediamtx:latest\n```\n\n```console\n# Then run castthat script\n\n$ ./castthat/casthat.sh\n\u003e Drag to select the area you want to stream…\nFailed to detect a compositor, OpenGL hardware-accelleration disabled... (you can ignore this error)\n▶  Streaming 938x638@40 → rtmp://192.168.1.30:1935/live/stream\n   HLS playlist:   http://192.168.1.30:8888/live/stream/index.m3u8\n   Low-latency HLS http://192.168.1.30:8888/live/stream/llhls.m3u8\n```\n\n### OR WITH DOCKER COMPOSE\n\nOnly if you have X11 server up and running for you.\nsee the ./docker-compose.yml for more details\n\n```console\ndocker compose up --build\n```\n\n## TROUBLESHOOTHING\n\nIf you find yourself unable to read/get frames from the X server,\ntry those commands :\n```bash\nxhost +local:  # Allow local connections to X server\nexport DISPLAY=:0  # Set default display\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanix-darker%2Fcastthat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanix-darker%2Fcastthat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanix-darker%2Fcastthat/lists"}