{"id":20288160,"url":"https://github.com/aebruno/asteroid-top","last_synced_at":"2025-04-11T10:06:28.053Z","repository":{"id":57502249,"uuid":"82518915","full_name":"aebruno/asteroid-top","owner":"aebruno","description":"Asteroid Top","archived":false,"fork":false,"pushed_at":"2017-02-21T21:51:54.000Z","size":82,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T06:51:14.745Z","etag":null,"topics":["asteroidos","go","golang","qt"],"latest_commit_sha":null,"homepage":null,"language":"QML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aebruno.png","metadata":{"files":{"readme":"README.rst","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":"2017-02-20T05:07:44.000Z","updated_at":"2024-01-03T16:43:22.000Z","dependencies_parsed_at":"2022-09-13T08:01:54.980Z","dependency_job_id":null,"html_url":"https://github.com/aebruno/asteroid-top","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/aebruno%2Fasteroid-top","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aebruno%2Fasteroid-top/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aebruno%2Fasteroid-top/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aebruno%2Fasteroid-top/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aebruno","download_url":"https://codeload.github.com/aebruno/asteroid-top/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248372697,"owners_count":21093138,"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":["asteroidos","go","golang","qt"],"created_at":"2024-11-14T14:44:29.200Z","updated_at":"2025-04-11T10:06:28.023Z","avatar_url":"https://github.com/aebruno.png","language":"QML","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============================================================================\nAsteroid Top\n===============================================================================\n\nAsteroid Top is an app for `AsteroidOS \u003chttps://asteroidos.org\u003e`_ written in\nGo. It displays the Linux kernel version, CPU load, memory usage, disk usage,\nand load averages (1,5,15 min). This app is mean to serve as an example of\nwriting Go apps for AsteroidOS.\n\n.. image:: docs/asteroid-top-screenshot.png\n    :align: right\n\n-------------------------------------------------------------------------------\nBuilding from source\n-------------------------------------------------------------------------------\n\n*These instructions assume you're running Linux*\n\n1. Install Go \u003e= 1.7.1 and setup a proper `GOPATH \u003chttps://golang.org/doc/code.html#GOPATH\u003e`_ \n\n2. Install Qt 5.7.0 the official `prebuilt package \u003chttps://download.qt.io/official_releases/qt/5.7/5.7.0/qt-opensource-linux-x64-android-5.7.0.run\u003e`_\n\n3. Install `Asteroid SDK \u003chttps://asteroidos.org/wiki/creating-an-asteroid-app/\u003e`_\n\n4. Make sure to source the oecore script before each build (something like)::\n\n    $ source /usr/local/oecore-x86_64/environment-setup-armv7ve-neon-oe-linux-gnueabi\n\n5. Clone asteroid-top and download dependencies::\n\n    $ git clone https://github.com/aebruno/asteroid-top.git\n    $ cd asteroid-top\n    $ go get github.com/shirou/gopsutil \n\n6. Download and install Go QT bindings. This will clone\n   https://github.com/therecipe/qt and checkout the specific version that has\n   been known to work with asteroid-top::\n\n    $ ./build.sh bootstrap-qt\n\n7. Run qtmoc, qtrcc and qtminimal::\n\n    $ ./build.sh prep\n\n8. Compile armv7ve binary for Asteroid::\n\n    $ ./build.sh compile\n\n9. Install the app on the watch::\n\n    $ adb push asteroid-top /usr/bin/\n    $ adb push asteroid-top.desktop /usr/share/applications/\n\n-------------------------------------------------------------------------------\nLicense\n-------------------------------------------------------------------------------\n\nCopyright (C) 2017 Andrew E. Bruno\n\nasteroid-top is free software: you can redistribute it and/or modify it under the\nterms of the GNU General Public License as published by the Free Software\nFoundation, either version 3 of the License, or (at your option) any later\nversion.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY\nWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A\nPARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with\nthis program. If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faebruno%2Fasteroid-top","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faebruno%2Fasteroid-top","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faebruno%2Fasteroid-top/lists"}