0
Fork 0
mirror of https://github.com/twitter/twitter-text.git synced 2026-11-16 19:16:29 +00:00
Twitter Text Libraries. This code is used at Twitter to tokenize and parse text to meet the expectations for what can be used on the platform. https://developer.twitter.com/en/docs/counting-characters
  • HTML 40.4%
  • JavaScript 22.6%
  • Ruby 14.7%
  • Java 12.7%
  • Objective-C 8.3%
  • Other 1.3%
Find a file
History 2021-10-21 10:30:02 -07:00
.github Adding issue and pull request templates to comply with twitter OSS policies 2018-02-15 14:00:14 -08:00
config Initial commit for twitter-text 3.0.0 (#265) 2018-10-10 11:07:58 -07:00
conformance twitter-text 3.1.0 release PR (#310) 2020-03-31 23:56:51 +05:30
java Corrected links and dates 2020-10-22 15:20:31 +01:00
js Corrected links and dates 2020-10-22 15:20:31 +01:00
objc Corrected links and dates 2020-10-22 15:20:31 +01:00
rb Corrected links and dates 2020-10-22 15:20:31 +01:00
unicode_regex Initial commit for twitter-text 3.0.0 (#265) 2018-10-10 11:07:58 -07:00
.gitignore refactor to use parameterized tests and code cleanup 2017-06-26 13:51:41 -07:00
.travis.sh JAVA_HOME should be set for xcode travis env 2014-12-03 16:37:56 -08:00
.travis.yml Initial commit for twitter-text 3.0.0 (#265) 2018-10-10 11:07:58 -07:00
bower.json Version in bower file is deprecated, rely solely on git tag 2015-09-04 15:35:01 -07:00
LICENSE Update LICENSE to use the full text (#360) 2021-10-21 10:30:02 -07:00
README.md Add Rust link 2020-10-21 16:36:51 -07:00

twitter-text

This repository is a collection of libraries and conformance tests to standardize parsing of Tweet text. It synchronizes development, testing, creating issues, and pull requests for twitter-text's implementations and specification. These libraries are responsible for determining the quantity of characters in a Tweet and identifying and linking any URL, @username, #hashtag, or $cashtag.

See implementations and conformance in this repository below:

Other language implementations

The following implementations exist in other programming languages, but are not supported by or used by Twitter. We'd like to thank the authors for building and maintaining these alternatives.

If you would like to contribute a link to other implementations, please consider sending a Pull Request, or letting us know via the Twitter Developer Community forums.

Copyright 2012-2020 Twitter, Inc and other contributors

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0