{"id":13602198,"url":"https://github.com/inaka/galgo","last_synced_at":"2025-06-17T08:07:54.274Z","repository":{"id":23514659,"uuid":"26880738","full_name":"inaka/galgo","owner":"inaka","description":"When you want your logs to be displayed on screen","archived":false,"fork":false,"pushed_at":"2017-09-18T18:54:02.000Z","size":112,"stargazers_count":425,"open_issues_count":5,"forks_count":58,"subscribers_count":51,"default_branch":"master","last_synced_at":"2025-06-02T18:00:20.344Z","etag":null,"topics":["android","java","log-message"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inaka.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":"2014-11-19T20:42:44.000Z","updated_at":"2025-05-02T16:53:15.000Z","dependencies_parsed_at":"2022-08-18T14:12:10.453Z","dependency_job_id":null,"html_url":"https://github.com/inaka/galgo","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/inaka/galgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inaka%2Fgalgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inaka%2Fgalgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inaka%2Fgalgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inaka%2Fgalgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inaka","download_url":"https://codeload.github.com/inaka/galgo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inaka%2Fgalgo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260318683,"owners_count":22991121,"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":["android","java","log-message"],"created_at":"2024-08-01T18:01:16.227Z","updated_at":"2025-06-17T08:07:54.245Z","avatar_url":"https://github.com/inaka.png","language":"Java","readme":"Galgo\n=====\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Galgo-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1151)\n\nA tiny Android library for those moments when you want your logs to be displayed on screen. \n\n### Abstract\n\u003cimg src=\"http://i59.tinypic.com/eagm6h.png\" align=\"right\" style=\"float:right\" height=\"200\" /\u003e\nSometimes we want/need to know what's going on behind the scenes but our app is not always connected to our computer to let us check the logs. Galgo will let you display your log messages as an overlay on top of your UI.\n\nExtremely useful for testers who want to have more insight into what's going on behind the scenes in our apps when it misbehaves.\n\nYou can also define some basic settings such as background color, text color, text size and number of lines to display on screen so it better fits your needs.\n\n### How to download and Install\nAdd the following to your `build.gradle` file:\n\n```groovy\nrepositories {\n\tmaven {\n\t\turl \"https://jitpack.io\"\n\t}\n}\n\ndependencies {\n\t// ...\n    compile 'com.github.inaka:galgo:v1.0.2'\n    // ...\n}\n```\n\nAnother option is to simply clone this repo and import it into Android Studio as a module.\n\n### Code Example\n```java\npublic class ExampleActivity extends Activity {\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState) {\n        super.onCreate(savedInstanceState);\n        setContentView(R.layout.activity_example);\n\n        // add some customization to the log messages\n        GalgoOptions options = new GalgoOptions.Builder()\n                .numberOfLines(15)\n                .backgroundColor(Color.parseColor(\"#D9d6d6d6\"))\n                .textColor(Color.BLACK)\n                .textSize(15)\n                .build();\n        Galgo.enable(this, options);\n\n        Galgo.log(\"I am a log message\");\n    }\n\n    public void onDestroy() {\n        super.onDestroy();\n\n        // always call disable to avoid memory leaks\n        Galgo.disable(this);\n    }\n}\n```\n\n### Example\nHere's an example of the log messages being displayed on top of our Activity:\n\n\u003cimg src=\"http://i61.tinypic.com/2qw3by0.gif\" align=\"center\" style=\"float:center\" height=\"400\" /\u003e\n\n### Contact Us\nIf you find any **bugs** or have a **problem** while using this library, please [open an issue](https://github.com/inaka/galgo/issues/new) in this repo (or a pull request :)).\n","funding_links":[],"categories":["Android"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finaka%2Fgalgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finaka%2Fgalgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finaka%2Fgalgo/lists"}