{"id":23682435,"url":"https://github.com/ysdragon/sysinfo","last_synced_at":"2026-01-03T18:30:14.157Z","repository":{"id":255913029,"uuid":"853878066","full_name":"ysdragon/SysInfo","owner":"ysdragon","description":"A package to retrieve essential system information for Ring","archived":false,"fork":false,"pushed_at":"2024-10-30T00:31:13.000Z","size":243,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-30T02:50:55.565Z","etag":null,"topics":["ring","ring-programming-language","sysinfo"],"latest_commit_sha":null,"homepage":"","language":"Ring","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/ysdragon.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-07T19:32:55.000Z","updated_at":"2024-10-30T00:31:16.000Z","dependencies_parsed_at":"2024-11-09T19:37:58.694Z","dependency_job_id":null,"html_url":"https://github.com/ysdragon/SysInfo","commit_stats":null,"previous_names":["ysdragon/sysinfo"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysdragon%2FSysInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysdragon%2FSysInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysdragon%2FSysInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ysdragon%2FSysInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ysdragon","download_url":"https://codeload.github.com/ysdragon/SysInfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239734390,"owners_count":19688255,"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":["ring","ring-programming-language","sysinfo"],"created_at":"2024-12-29T19:11:54.845Z","updated_at":"2026-01-03T18:30:14.105Z","avatar_url":"https://github.com/ysdragon.png","language":"Ring","readme":"\u003cdiv align=\"center\"\u003e\n\n# SysInfo\n\nA comprehensive system information retrieval package for [Ring](https://ring-lang.net/) programming language\n\n[![Ring](https://img.shields.io/badge/Made%20with-Ring-2D54CB)](https://ring-lang.net/)\n\n![GitHub release](https://img.shields.io/github/v/release/ysdragon/SysInfo)\n![GitHub](https://img.shields.io/github/license/ysdragon/SysInfo)\n\u003c/div\u003e\n\n## Overview\n\nSysInfo is a powerful Ring package that provides easy access to essential system information across different operating systems.\n\n## Features\n\n### Core System Info\n- System hostname and username\n- OS name and kernel version\n- CPU model, cores, and usage metrics\n- RAM capacity and usage statistics\n- GPU detection and details\n- Storage devices and partition info\n- System uptime tracking\n- Virtual machine detection\n\n### Environment Details\n- Shell identification and version\n- Terminal emulator detection\n- Package count and manager info\n- System architecture detection\n\n### Cross-Platform Support\n- Linux/Unix/Windows support\n\n\n## Installation\n\n### Using Ring Package Manager (`ringpm`)\n\n#### From the RingPM Registry\n```bash\n# Refresh the registry first\nringpm refresh\n\n# Install the package\nringpm install SysInfo\n```\n\n#### From This Repository\n```bash\nringpm install SysInfo from ysdragon\n```\n\nTo update to the latest version:\n```bash\nringpm update SysInfo\n```\n\n## Usage\n\n```ring\nload \"SysInfo.ring\"\n\n// Create a new SysInfo instance\nsys = new SysInfo\n\n// Get basic system information\n? \"OS: \" + sys.os()[:name]\n? \"Hostname: \" + sys.hostname()\n? \"CPU: \" + sys.cpu()[:model]\n? \"Total RAM: \" + sys.ram()[:size] + \" GB\"\n```\n\n## Example\nCheck out ***[RingFetch](https://github.com/ysdragon/SysInfo/tree/main/examples)***, a complete system information display tool built with SysInfo.\n\n|*RingFetch on a Linux VM*                                                                                   | *RingFetch on a Windows VM*                                                                           |\n|-----------------------------------------------------------------------------------|----------------------------------------------------------------------------|\n|  ![](examples/img//ringfetch_linux.png)                                      |  ![](examples/img/ringfetch_win.png)                               |\n                                                      \n\n## Supported Operating Systems\n### Fully Tested\n- **\u003cimg width=\"20\" height=\"20\" src=\"https://www.kernel.org/theme/images/logos/favicon.png\" /\u003e Linux**\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://www.debian.org/favicon.ico\" /\u003e Debian\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://netplan.readthedocs.io/en/latest/_static/favicon.png\" /\u003e Ubuntu\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://voidlinux.org/assets/img/favicon.png\" /\u003e Void Linux\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://www.alpinelinux.org/alpine-logo.ico\" /\u003e Alpine Linux\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://www.centos.org/assets/img/favicon.png\" /\u003e CentOS\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://rockylinux.org/favicon.png\" /\u003e Rocky Linux\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://fedoraproject.org/favicon.ico\" /\u003e Fedora\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://almalinux.org/fav/favicon.ico\" /\u003e AlmaLinux\n    - \u003cimg width=\"16\" height=\"16\" src=\"http://www.slackware.com/favicon.ico\" /\u003e Slackware Linux\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://github.com/bin456789/reinstall/assets/7548515/f74b3d5b-085f-4df3-bcc9-8a9bd80bb16d\" /\u003e Kali Linux\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://static.opensuse.org/favicon.ico\" /\u003e openSUSE\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://www.gentoo.org/assets/img/logo/gentoo-g.png\" /\u003e Gentoo Linux\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://archlinux.org/static/favicon.png\" /\u003e Arch Linux\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://www.devuan.org/ui/img/favicon.ico\" /\u003e Devuan Linux\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://chimera-linux.org/assets/icons/favicon48.png\" /\u003e Chimera Linux\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://www.openeuler.org/favicon.ico\" /\u003e openEuler\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://www.oracle.com/asset/web/favicons/favicon-32.png\" /\u003e Oracle\n    - \u003cimg width=\"16\" height=\"16\" src=\"https://www.redhat.com/favicon.ico\" /\u003e Red Hat\n- **\u003cimg width=\"20\" height=\"20\" src=\"https://blogs.windows.com/wp-content/uploads/prod/2022/09/cropped-Windows11IconTransparent512-32x32.png\" /\u003e Windows**\n  - Windows 10\n  - Windows 11\n  - Windows Server 2019\n  - Windows Server 2022\n  - Windows Server 2025\n\n## Contributing\nPublic contributions are welcome!  \nYou can create a [new issue](https://github.com/ysdragon/SysInfo/issues/new) for bugs, or feel free to open a [pull request](https://github.com/ysdragon/SysInfo/pulls) for any and all your changes or work-in-progress features.\n\n## License\nThis project is open-source and available under the MIT License. See the [LICENSE](https://github.com/ysdragon/SysInfo/blob/main/LICENSE) file for more details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysdragon%2Fsysinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fysdragon%2Fsysinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fysdragon%2Fsysinfo/lists"}