{"id":15111324,"url":"https://github.com/avicted/pepito_app","last_synced_at":"2026-01-20T01:22:55.685Z","repository":{"id":256620931,"uuid":"855951137","full_name":"Avicted/pepito_app","owner":"Avicted","description":"Pépito C++ program that connects to a Server-sent events (SSE) API and parses every message for when Pépito the cat comes home or goes out.","archived":false,"fork":false,"pushed_at":"2024-10-11T11:36:55.000Z","size":315,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T14:25:04.544Z","etag":null,"topics":["cat","cpp","json","pepito","sse"],"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/Avicted.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-09-11T18:16:54.000Z","updated_at":"2024-10-11T11:36:59.000Z","dependencies_parsed_at":"2024-09-12T04:39:25.832Z","dependency_job_id":null,"html_url":"https://github.com/Avicted/pepito_app","commit_stats":null,"previous_names":["avicted/pepito_app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fpepito_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fpepito_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fpepito_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fpepito_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Avicted","download_url":"https://codeload.github.com/Avicted/pepito_app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247370794,"owners_count":20928083,"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":["cat","cpp","json","pepito","sse"],"created_at":"2024-09-26T00:03:29.725Z","updated_at":"2026-01-20T01:22:55.656Z","avatar_url":"https://github.com/Avicted.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pépito C++ program\n\n\n![pépito 17 years birthday](resources/pépito_17_screenshot.png)\n\n## Here is one of Pépito's official accounts:\nhttps://x.com/PepitoTheCat \n\n\n# The program\n\nThis is a multi-threaded C++ program that listens to Server-Sent Events (SSE) and prints the messages to the console.\nAll messages are parsed, and the program serves as an example of how to parse SSE messages in C++.\n\nUsing this code as the base, you can extend it to do whatever you want with the messages. \n\nThe program is using the [Pépito API]( \nhttps://github.com/Clement87/Pepito-API/tree/main?tab=readme-ov-file#p%C3%A9pito-api) to get the messages.\n\nFor example you could:\n- When Pépito goes in or out of the house \n    - Connect to all Philips Hue bridges on your network and flash the lights when a particular message is received.\n    - Use your imagination and do something fun with the messages.\n\n\n## Pre-requisites\n```bash\n# Arch Linux\npacman -S meson nlohmann-json base-devel\n```\n\n## How to build\n\nVSCode press F5 to build and run the program.\n\n```bash\n# Build the program\nclear \u0026\u0026 meson setup build --buildtype=debug \u0026\u0026 cd build \u0026\u0026 ninja \u0026\u0026 cd ..\n\n# Run the program\n./build/pepito_app\n```\n\n\n## License\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favicted%2Fpepito_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favicted%2Fpepito_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favicted%2Fpepito_app/lists"}