{"id":16641064,"url":"https://github.com/suminb/tldr","last_synced_at":"2025-03-12T04:42:37.072Z","repository":{"id":139659943,"uuid":"73926976","full_name":"suminb/tldr","owner":"suminb","description":"Text summarization service","archived":false,"fork":false,"pushed_at":"2017-04-27T07:55:27.000Z","size":55,"stargazers_count":29,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2025-01-18T14:43:29.661Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suminb.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}},"created_at":"2016-11-16T14:15:26.000Z","updated_at":"2024-06-30T02:10:44.000Z","dependencies_parsed_at":"2023-07-23T09:01:21.143Z","dependency_job_id":null,"html_url":"https://github.com/suminb/tldr","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suminb%2Ftldr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suminb%2Ftldr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suminb%2Ftldr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suminb%2Ftldr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suminb","download_url":"https://codeload.github.com/suminb/tldr/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243158971,"owners_count":20245669,"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":[],"created_at":"2024-10-12T07:45:00.217Z","updated_at":"2025-03-12T04:42:37.042Z","avatar_url":"https://github.com/suminb.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Travis](https://img.shields.io/travis/suminb/tldr.svg)](https://travis-ci.org/suminb/tldr)\n[![Coveralls](https://img.shields.io/coveralls/suminb/tldr.svg)](https://coveralls.io/github/suminb/tldr)\n\nTL;DR\n-----\nTL;DR, which stands for \"Too Long; Didn't Read\", is a text summarization service.\n\nObtaining Docker Image\n----------------------\nThe pre-built Docker image can be obtained by running the following commands:\n\n    docker pull sumin/tldr\n\nCode Build\n----------\nIf you would like to build the code yourself, you will need the following\nthings:\n\n- Docker\n- Python 2.x or 3.x\n- Java 6 or higher\n\nThe Docker image can be built by running the following command:\n\n    docker build ${directory containing Dockderfile}\n\nRun\n---\n\n    docker run -d -p 8804:${host port} sumin/tldr\n\nFor example, if you would like to map the 8804 port of the guest host to the\nidentical port number (8804) of the host, you may want to run the following\ncommand.\n\n    docker run -d -p 8804:8804 sumin/tldr\n\nInvocation\n----------\nRESTful APIs can be invoked via any standard HTTP client. Use of `curl` or\n`wget` is advised.\n\n\n### Text Summarization\n\n    curl -XPOST -d \"text=This is a text\" http://localhost:8804/api/v1/summarize\n\n### Text Extraction\n\n    curl -XPOST -d \"html=\u003chtml\u003e\u003cbody\u003eExample\u003c/body\u003e\u003c/html\u003e\" \\\n        http://localhost:8804/api/v1/extract-text\n\nTests\n-----\n\n    py.test -v tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuminb%2Ftldr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuminb%2Ftldr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuminb%2Ftldr/lists"}