{"id":13679719,"url":"https://github.com/BLuFeNiX/PlayGPT","last_synced_at":"2025-04-29T19:31:47.870Z","repository":{"id":64608386,"uuid":"576892774","full_name":"BLuFeNiX/PlayGPT","owner":"BLuFeNiX","description":"Runs a sharable ChatGPT docker container, allowing you to share a ChatGPT session with friends via a web browser. You all control the session, as though using the same keyboard.","archived":false,"fork":false,"pushed_at":"2022-12-13T08:06:56.000Z","size":326,"stargazers_count":33,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-11T22:35:35.516Z","etag":null,"topics":["chatgpt","chatgpt-api","chatgpt-api-wrapper"],"latest_commit_sha":null,"homepage":"","language":"Python","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/BLuFeNiX.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}},"created_at":"2022-12-11T10:34:46.000Z","updated_at":"2024-10-24T08:44:03.000Z","dependencies_parsed_at":"2023-01-28T09:31:11.388Z","dependency_job_id":null,"html_url":"https://github.com/BLuFeNiX/PlayGPT","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BLuFeNiX%2FPlayGPT","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BLuFeNiX%2FPlayGPT/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BLuFeNiX%2FPlayGPT/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BLuFeNiX%2FPlayGPT/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BLuFeNiX","download_url":"https://codeload.github.com/BLuFeNiX/PlayGPT/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251569549,"owners_count":21610575,"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":["chatgpt","chatgpt-api","chatgpt-api-wrapper"],"created_at":"2024-08-02T13:01:08.705Z","updated_at":"2025-04-29T19:31:42.861Z","avatar_url":"https://github.com/BLuFeNiX.png","language":"Python","funding_links":[],"categories":["Python","Chat UIs"],"sub_categories":[],"readme":"# PlayGPT\n\nRuns a sharable ChatGPT docker container using the [acheong08/ChatGPT](https://github.com/acheong08/ChatGPT) API and [elisescu/tty-share](https://github.com/elisescu/tty-share).\n\nThis allows you to share a terminal screen (TTY) with your friends, and interact with ChatGPT together. You all control the same session, as though you were using the same keyboard.\n\n## Setup\n\n1. Clone this repo.\n2. Create a `config.json` within the `game` directory. The format of the JSON file must match the format [specified by the acheong08/ChatGPT API](https://github.com/acheong08/ChatGPT/wiki/Setup).\n\n## Usage\n\n```\n./run.sh [--public] [--headless] [--readonly]\n```\n\nYou can also pass any arg that `tty-share` accepts to customize your setup.\n\n```\n./run.sh --public --headless --headless-cols 160 --headless-rows 50\n```\n\n### Interacting with ChatGPT\n\nYou can directly use the terminal prompt to interact, as seen here:\n\n```\n                  Welcome to PlayGPT! Join via your browser at http://172.17.0.2:8000/s/local/                   \n       or https://on.tty-share.com/s/zKdiaL5wwsez_W6KRyZ1uHGcLJvR3UXDXSnJqdauADJQrtWOYU9AoMvO3bwagmkCEPw/        \n\nLogging in...\nWelcome to the game! Begin by entering an initial prompt for the AI.\nNOTE: You must press [enter] TWICE to submit messages.\n\n\u003e This is a test.\n\u003e\nHello! I am Assistant, a large language model trained by OpenAI. I am here to help you with any\nquestions you may have. Is there anything specific you would like to know? I am here to assist you.\n\n\u003e\n\n───────────────────────────────────────────────────[ PlayGPT ]───────────────────────────────────────────────────\n```\n\n### Headless Mode\n\nWhen running with `--headless`, you will be given the URL in the terminal output. Connect with a browser to join.\n```\nuser@dev:~/PlayGPT$ ./run.sh --public --headless\n================================================================\nBuilding docker image\n================================================================\nSending build context to Docker daemon  1.196MB\nStep 1/15 : FROM ubuntu:22.04\n\n... snip ...\n\n================================================================\nStarting docker container\nargs: --public --headless\n================================================================\npublic session: https://on.tty-share.com/s/7zve4SiiJc76pPw8WT0TAJIrKRUpjMpdcjEDHz3VwIMtOkgjNhTPQfHeAiD3RKAFbfI/\nlocal session: http://172.17.0.2:8000/s/local/\n```\n\n## Demo\n  \n\u003c!-- ![test](screenshots/demo.png | width=256) --\u003e\nInteractive Session                              |  Headless Session\n:-----------------------------------------------:|:-------------------------------------------------:\n\u003cimg src=\"screenshots/demo.png\" height=\"512\" /\u003e  |  \u003cimg src=\"screenshots/demo2.png\" height=\"512\" /\u003e\n\n\n\n\u003c!-- Interactive Session                              |  Headless Session\n:-----------------------------------------------:|:-------------------------------------------------:\n\u003cimg src=\"screenshots/demo.png\" width=\"50%\" /\u003e   |  \u003cimg src=\"screenshots/demo2.png\" width=\"50%\" /\u003e\n\n\n\n\nInteractive Session                              |  Headless Session\n:-----------------------------------------------:|:-------------------------------------------------:\n![test](screenshots/demo.png)                    |  ![test](screenshots/demo2.png)\n\n\u003cdiv style=\"float:left\"\u003e\n\u003cimg src=\"screenshots/demo.png\" height=\"512\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv style=\"float:right\"\u003e\n\u003cimg src=\"screenshots/demo2.png\" height=\"512\" /\u003e\n\u003c/div\u003e --\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBLuFeNiX%2FPlayGPT","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBLuFeNiX%2FPlayGPT","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBLuFeNiX%2FPlayGPT/lists"}