twitter/twitter-text

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.

HTML

3,137

1,048 commits

updated Apr 26, 2024

See the code

README

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

emoji
java
nodejs
objective-c
ruby
tweet
twitter
twitter-text
unicode

twitter/twitter-text

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.

HTML

3,137

1,048 commits

updated Apr 26, 2024

See the code

README

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

emoji
java
nodejs
objective-c
ruby
tweet
twitter
twitter-text
unicode

Project health

Overall

3.3/10

Maintained

0/10

Code review

5/10
OpenSSF Scorecard

RubyGems

Latest release

3.1.0 · Mar 31, 2020

Releases this year

0

Significant stargazers

(top 24 of 29)

QuietMisdreavus

225 followers · starred Aug 2016

Arnout Kazemier

927 followers · starred Sep 2015

Smitty

97 followers · starred Nov 2021

Cihat Gündüz

343 followers · starred Dec 2022