{"id":22798676,"url":"https://github.com/ralphpina/chatstrings","last_synced_at":"2025-03-30T18:43:59.022Z","repository":{"id":16439550,"uuid":"19191162","full_name":"ralphpina/ChatStrings","owner":"ralphpina","description":"Class that parses chat strings for @mentions, (emoticons), and http:// urls links.","archived":false,"fork":false,"pushed_at":"2014-04-27T05:03:09.000Z","size":2336,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T21:02:20.707Z","etag":null,"topics":[],"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/ralphpina.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}},"created_at":"2014-04-26T23:34:34.000Z","updated_at":"2014-04-27T05:03:08.000Z","dependencies_parsed_at":"2022-08-30T05:40:54.576Z","dependency_job_id":null,"html_url":"https://github.com/ralphpina/ChatStrings","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/ralphpina%2FChatStrings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphpina%2FChatStrings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphpina%2FChatStrings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ralphpina%2FChatStrings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ralphpina","download_url":"https://codeload.github.com/ralphpina/ChatStrings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246365638,"owners_count":20765546,"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-12-12T06:10:43.713Z","updated_at":"2025-03-30T18:43:58.992Z","avatar_url":"https://github.com/ralphpina.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"ChatStrings\n===============\n\nClass that parses chat strings for @mentions, (emoticons), and http:// urls links.\n\nI am using Jsoup to get parse the html links and get their title attribute. I am also using Gson \nto build the JSON objects and convert them to Strings. I am using Gson because it is a very\nfast JSON parser and allows me to use annotated objects to describe my JSON objects.\n\nTo run this file you would run ChatStringsExample which has a main method and sample strings.\nTo compile the example:\n$ javac ChatStringsExample.java \nThen to run it:\n$ java -classpath gson-2.2.4.jar:jsoup-1.7.3.jar:. ChatStringsExample\n\n---------\nIf you want to edit the main class, ChatStrings, you would need to recompile it:\nTo compile ChatStrings.java you must include Jsoup and Gson in the class path and execute: \n$ javac -classpath gson-2.2.4.jar:jsoup-1.7.3.jar ChatStrings.java\n\nTo compile the tests:\n$ javac -cp .:junit-4.11.jar ChatStringsTest.java\nTo run the tests you would execute in the main directory: \n$ java -cp .:junit-4.11.jar:hamcrest-core-1.3.jar:gson-2.2.4.jar:jsoup-1.7.3.jar org.junit.runner.JUnitCore ChatStringsTest\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralphpina%2Fchatstrings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fralphpina%2Fchatstrings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fralphpina%2Fchatstrings/lists"}