{"id":22737064,"url":"https://github.com/kibotu/urlshortener","last_synced_at":"2026-03-01T23:33:43.582Z","repository":{"id":152024204,"uuid":"75958249","full_name":"kibotu/UrlShortener","owner":"kibotu","description":"Kotlin library which shortens url.","archived":false,"fork":false,"pushed_at":"2017-01-17T16:09:40.000Z","size":127,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-09T22:36:39.269Z","etag":null,"topics":["android","google-api","hacktoberfest","tinyurl","urlshortener"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/kibotu.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,"zenodo":null}},"created_at":"2016-12-08T17:05:59.000Z","updated_at":"2021-10-06T08:26:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2d0eb72-f006-4559-8542-e55df5e2f810","html_url":"https://github.com/kibotu/UrlShortener","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/kibotu/UrlShortener","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kibotu%2FUrlShortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kibotu%2FUrlShortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kibotu%2FUrlShortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kibotu%2FUrlShortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kibotu","download_url":"https://codeload.github.com/kibotu/UrlShortener/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kibotu%2FUrlShortener/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29987698,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T22:42:38.399Z","status":"ssl_error","status_checked_at":"2026-03-01T22:41:51.863Z","response_time":124,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["android","google-api","hacktoberfest","tinyurl","urlshortener"],"created_at":"2024-12-10T22:09:33.835Z","updated_at":"2026-03-01T23:33:43.556Z","avatar_url":"https://github.com/kibotu.png","language":"Kotlin","funding_links":["https://www.paypal.me/janrabe"],"categories":[],"sub_categories":[],"readme":"[![Donation](https://img.shields.io/badge/donate-please-brightgreen.svg)](https://www.paypal.me/janrabe) [![About Jan Rabe](https://img.shields.io/badge/about-me-green.svg)](https://about.me/janrabe) \n# UrlShortener [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-UrlShortener-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/4819) [![](https://jitpack.io/v/kibotu/UrlShortener.svg)](https://jitpack.io/#kibotu/UrlShortener) [![Javadoc](https://img.shields.io/badge/javadoc-SNAPSHOT-green.svg)](https://jitpack.io/com/github/kibotu/UrlShortener/master-SNAPSHOT/javadoc/index.html) [![Build Status](https://travis-ci.org/kibotu/UrlShortener.svg?branch=master)](https://travis-ci.org/kibotu/UrlShortener) [![API](https://img.shields.io/badge/API-15%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=15)  [![Gradle Version](https://img.shields.io/badge/gradle-3.2.1-green.svg)](https://docs.gradle.org/current/release-notes) [![Retrolambda](https://img.shields.io/badge/java-8-green.svg)](https://github.com/evant/gradle-retrolambda) [![Licence](https://img.shields.io/badge/licence-Apache%202-blue.svg)](https://raw.githubusercontent.com/kibotu/UrlShortener/master/LICENSE)\n\n## Introduction\n\nShortens url using [google shortener service](https://developers.google.com/url-shortener/).\n\n## How to use\n\n1) Update [Google Api Key](https://developers.google.com/url-shortener/v1/getting_started#APIKey) in your [string.xml](https://github.com/kibotu/UrlShortener/blob/master/lib/src/main/res/values/strings.xml)\n\n       \u003cstring name=\"google_api_key\"\u003emy-google-api-key\u003c/string\u003e\n\n2) [Request shortened url](https://github.com/kibotu/UrlShortener/blob/master/app/src/main/java/net/kibotu/urlshortener/app/MainActivity.java#L21-L26)\n\nUsing TinyUrl Service\n\n         UrlShortener.shortenUrlByTinyUrl(\"http://www.google.com\")\n                 .subscribeOn(Schedulers.newThread())\n                 .observeOn(AndroidSchedulers.mainThread())\n                 .subscribe(r -\u003e {\n                     Log.v(TAG, \"[onCreate] shortenUrlByTinyUrl \" + r);\n                 }, Throwable::printStackTrace);\n\nUsing Google Shortener Service (Requires API Key)\n\n         UrlShortener.shortenUrlByGoogle(this, \"http://www.google.com\")\n                 .subscribeOn(Schedulers.newThread())\n                 .observeOn(AndroidSchedulers.mainThread())\n                 .subscribe(r -\u003e {\n                     Log.v(TAG, \"[onCreate] shortenUrlByGoogle \" + r);\n                 }, Throwable::printStackTrace);\n\n(Optional) enable logging\n\n       UrlShortener.setEnableLogging(true);\n\n## How to install\n\n    compile 'com.github.kibotu:UrlShortener:-SNAPSHOT'\n\n## How to build\n\n    graldew clean build\n    \n### CI \n    \n    gradlew clean assembleRelease test javadoc\n    \n#### Build Requirements\n\n- Android Build Tools 25.0.2\n- Android SDK 25\n\n## Contributors\n\n[Jan Rabe](jan.rabe@kibotu.net)\n\n###License\n\u003cpre\u003e\nCopyright 2016 Jan Rabe\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\u003c/pre\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkibotu%2Furlshortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkibotu%2Furlshortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkibotu%2Furlshortener/lists"}