{"id":15306175,"url":"https://github.com/auties00/linkpreview","last_synced_at":"2025-04-15T00:54:02.136Z","repository":{"id":49650370,"uuid":"510533153","full_name":"Auties00/LinkPreview","owner":"Auties00","description":"Generate a preview for a link or for a text containing links","archived":false,"fork":false,"pushed_at":"2024-03-07T11:43:25.000Z","size":36,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T00:53:54.958Z","etag":null,"topics":["extract","java","link","link-preview","preview"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Auties00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-07-04T23:58:17.000Z","updated_at":"2025-04-03T10:01:04.000Z","dependencies_parsed_at":"2023-02-18T11:07:37.195Z","dependency_job_id":"2cc7d217-0658-4d62-85fa-3dd882d34507","html_url":"https://github.com/Auties00/LinkPreview","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/Auties00%2FLinkPreview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Auties00%2FLinkPreview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Auties00%2FLinkPreview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Auties00%2FLinkPreview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Auties00","download_url":"https://codeload.github.com/Auties00/LinkPreview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986279,"owners_count":21194025,"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":["extract","java","link","link-preview","preview"],"created_at":"2024-10-01T08:04:40.004Z","updated_at":"2025-04-15T00:54:02.113Z","avatar_url":"https://github.com/Auties00.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Link Preview Java\n\n### What is link preview\n\nThis library generates a preview for a link or for a text containing any number of links. \nIts functionality is aligned with [link-preview-js](https://github.com/ospfranco/link-preview-js) \nas I was looking for an alternative to this library for Java but couldn't find any.\n\n### How to install\n\n#### Maven\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.auties00\u003c/groupId\u003e\n    \u003cartifactId\u003elink-preview\u003c/artifactId\u003e\n    \u003cversion\u003e2.4\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n#### Gradle\n\n1. Groovy DSL\n   ```groovy\n   implementation 'com.github.auties00:link-preview:2.4'\n   ```\n\n2. Kotlin DSL\n   ```kotlin\n   implementation(\"com.github.auties00:link-preview:2.4\")\n   ```\n   \n### How to use\n\n1. Text\n   ```java\n   LinkPreview.createPreviews(\"This is a string containing links: google.com\");\n   ```\n   \n2. URI\n   ```java\n   LinkPreview.createPreviews(URI.create(\"https://google.com/\"));\n   ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauties00%2Flinkpreview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauties00%2Flinkpreview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauties00%2Flinkpreview/lists"}