{"id":33129930,"url":"https://github.com/Phate6660/cppfetch","last_synced_at":"2025-11-20T02:01:24.012Z","repository":{"id":47783156,"uuid":"329147535","full_name":"Phate6660/cppfetch","owner":"Phate6660","description":"A neofetch-esque program written in CPP. This project is being used as a method of learning CPP.","archived":false,"fork":false,"pushed_at":"2021-08-13T03:11:42.000Z","size":130,"stargazers_count":18,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-11T13:33:23.046Z","etag":null,"topics":["cpp","neofetch"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Phate6660.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}},"created_at":"2021-01-13T00:18:19.000Z","updated_at":"2024-01-30T06:24:48.000Z","dependencies_parsed_at":"2022-09-08T01:11:24.444Z","dependency_job_id":null,"html_url":"https://github.com/Phate6660/cppfetch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Phate6660/cppfetch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phate6660%2Fcppfetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phate6660%2Fcppfetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phate6660%2Fcppfetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phate6660%2Fcppfetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Phate6660","download_url":"https://codeload.github.com/Phate6660/cppfetch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Phate6660%2Fcppfetch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285359022,"owners_count":27158216,"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","status":"online","status_checked_at":"2025-11-20T02:00:05.334Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cpp","neofetch"],"created_at":"2025-11-15T09:00:29.616Z","updated_at":"2025-11-20T02:01:24.007Z","avatar_url":"https://github.com/Phate6660.png","language":"C++","readme":"# cppfetch\n\nI decided to learn CPP, and I'm using this project as way to actively learn it.\n\nI decided an information gathering program because I'm already accustomed to making\u003cbr\u003e\nsuch programs in other languages.\n\n## Building\n\nDependencies:\n- xmake\n- libmpdclient\\*\n\n\\*(Should automatically be installed/compiled with xmake when the music option is enabled.\u003cbr\u003e\nHowever if you find it doesn't install, open an issue with the message with the\u003cbr\u003e\noutput of xmake and then try installing libmpdclient from a package manager\u003cbr\u003e\n(though I'm usually really responsive so I'll probably have it fixed up for you before you have to).)\n\n```bash\ngit clone https://github.com/Phate6660/cppfetch\ncd cppfetch\nxmake # or `xmake f --music=y -v \u0026\u0026 xmake -v` if you want to enable music info\n```\n\n(Use `xmake -rv` after the `\u0026\u0026` to have xmake rebuild everything.\u003cbr\u003e\nIt's only needed if you previously built cppfetch with/without music and want the opposite.)\n\nYou may also statically build the program with `./build-static`.\u003cbr\u003e\nIt only requires g++ and strip (which you should already have if you're building programs :D).\u003cbr\u003e\nHowever, building with music support only works if you built libmpdclient as a static lib.\u003cbr\u003e\nIf you have done that and want music support, then run `./build-static true`.\n\n## Example output\n\n`xmake run` or `xmake run cppfetch l` (if you want the logo to be displayed too)\n\n```\n ██████╗██████╗ ██████╗ ███████╗███████╗████████╗ ██████╗██╗  ██╗\n██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝╚══██╔══╝██╔════╝██║  ██║\n██║     ██████╔╝██████╔╝█████╗  █████╗     ██║   ██║     ███████║\n██║     ██╔═══╝ ██╔═══╝ ██╔══╝  ██╔══╝     ██║   ██║     ██╔══██║\n╚██████╗██║     ██║     ██║     ███████╗   ██║   ╚██████╗██║  ██║\n ╚═════╝╚═╝     ╚═╝     ╚═╝     ╚══════╝   ╚═╝    ╚═════╝╚═╝  ╚═╝\nCPU:         Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz\nDistro:      Gentoo/Linux\nEditor:      /usr/bin/nvim\nEnvironment: herbstluftwm\nMemory:      15966MB\nMusic:       Electric Six - I Shall Exterminate Everything Around Me That Restricts Me From Being The Master - It's Showtime!\nPackages:    594 (Portage)\nShell:       /bin/bash\nTerminal:    xterm\nUptime:      6d 3h 44m\nUser:        valley\n```\n\nYou'll find the binary at: `./build/linux/ARCH/cppfetch`\n\n(Replace ARCH with your architecture, e.g. x86\\_64.)\n## TODO\n\n- ~~ASCII art~~\n  + ~~Disabled by default, enable with `l` or `logo`~~\n  + ~~Hardoded ascii art~~\n  + ~~User supplied ascii art~~ (place at `~/.config/cppfetch/logo`)\n- ~~CPU Info~~\n- ~~DE/WM Info~~\n- ~~Distro Info~~\n- ~~Editor Info~~\n- Memory Info\n  + Proper formatting (e.g. decimal points / extra calculations where necessary)\n  + ~~Total~~\n  + Used\n- Music Info\n  + ~~MPD~~\n- Package Count\n  + ~~apt~~\n  + cargo\n  + ~~dnf~~\n  + ~~dpkg~~\n  + ~~eopkg~~\n  + flatpak\n  + ~~pacman~~\n  + pip\n  + ~~[pkg](https://github.com/Phate6660/pkg)~~\n  + [ppkg](https://github.com/Phate6660/ppkg)\n  + ~~qlist~~ (TODO: get package counts in pure C++)\n  + ~~rpm~~\n  + ~~xbps~~\n  + yum\n- ~~Shell Info~~\n- ~~Terminal Info~~\n- ~~Uptime Info~~\n- ~~User Info~~\n","funding_links":[],"categories":["Packages"],"sub_categories":["CLI Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPhate6660%2Fcppfetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPhate6660%2Fcppfetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPhate6660%2Fcppfetch/lists"}