{"id":13601826,"url":"https://github.com/kaelaela/OpenGraphView","last_synced_at":"2025-04-11T04:31:44.291Z","repository":{"id":59553673,"uuid":"55204323","full_name":"kaelaela/OpenGraphView","owner":"kaelaela","description":"Rich url link view for Android.","archived":false,"fork":false,"pushed_at":"2018-01-11T06:06:04.000Z","size":14044,"stargazers_count":340,"open_issues_count":3,"forks_count":49,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-02T18:41:28.005Z","etag":null,"topics":["android","custom-view","open-graph"],"latest_commit_sha":null,"homepage":"http://kaelae.la/OpenGraphView/","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/kaelaela.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":"2016-04-01T04:47:21.000Z","updated_at":"2024-01-25T17:47:44.000Z","dependencies_parsed_at":"2022-09-19T12:02:17.017Z","dependency_job_id":null,"html_url":"https://github.com/kaelaela/OpenGraphView","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaelaela%2FOpenGraphView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaelaela%2FOpenGraphView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaelaela%2FOpenGraphView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaelaela%2FOpenGraphView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaelaela","download_url":"https://codeload.github.com/kaelaela/OpenGraphView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223458650,"owners_count":17148494,"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","custom-view","open-graph"],"created_at":"2024-08-01T18:01:08.550Z","updated_at":"2024-11-07T04:31:53.957Z","avatar_url":"https://github.com/kaelaela.png","language":"Java","funding_links":[],"categories":["android"],"sub_categories":[],"readme":"OpenGraphView\n===\n\n[![Download](https://api.bintray.com/packages/kaelaela/maven/OpenGraphView/images/download.svg) ](https://bintray.com/kaelaela/maven/OpenGraphView/_latestVersion)\n[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n\nRich url link view for Android.\n\n![default](art/ogview.gif)![default](art/ogview2.gif)\n\n## Usage\n\n```groovy\ncompile 'me.kaelaela:OpenGraphView:1.2.0@aar'\n```\n\n```java\nOpenGraphView ogView = new OpenGraphView();\nogView.loadFrom(url);\n```\n\n## Attributes\n\n```xml\n\u003cme.kaelaela.opengraphview.OpenGraphView\n            android:id=\"@+id/og_view\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"96dp\"\n            og:bgColor=\"@android:color/white\"\n            og:cornerRadius=\"4dp\"\n            og:descTextColor=\"@color/text_black\"\n            og:faviconPlaceHolder=\"@color/light_gray\"\n            og:imagePlaceHolder=\"@color/light_gray\"\n            og:separateImage=\"true\"\n            og:strokeColor=\"@color/light_gray\"\n            og:titleColor=\"@color/text_black\"\n            og:urlTextColor=\"@color/base_gray\"\n            og:imagePosition=\"left|right\"\n            /\u003e\n```\n\n| Attribute | Description |\n|:---|:---|\n| bgColor | Set background color |\n| cornerRadius | Set view corner radius |\n| imagePlaceHolder | Set image or drawable to image place holder |\n| faviconPlaceHolder | Set image or drawable to favicon place holder |\n| separateImage | Set image separator visiblity |\n| strokeColor | Set stroke color |\n| strokeWidth | Set stroke width |\n| titleColor | Set og title text color |\n| descTextColor | Set og description text color |\n| urlTextColor | Set og url text color |\n| imagePosition | Set image position to left or right |\n\n## Milestone\n\n- [ ] Custom layout\n - [x] View color\n - [ ] View size\n - [x] Text color\n - [x] Image position\n - [x] Rounded view\n- [x] Image cache\n- [x] Enable load twitter\n- [ ] Load more metadata\n- [x] custom parser\n\n## Me\n\nYuichi Maekawa(Kaelaela)\n* Twitter [@kaelaela31](https://twitter.com/kaelaela31)\n* kaelaela.31@gmail.com\n\n##### Inspired\n\n[szk-atmosphere/URLEmbeddedView](https://github.com/szk-atmosphere/URLEmbeddedView)\n\nLicense\n-------\n    Copyright (C) 2016 kaelaela\n    Copyright (C) 2013 The Android Open Source Project\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaelaela%2FOpenGraphView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaelaela%2FOpenGraphView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaelaela%2FOpenGraphView/lists"}