/tagify

Tagify produces a set of tags from a given source. Source can be either an HTML page, a Markdown document or a plain text. Supports English, Russian, Chinese, Hindi, Spanish, Arabic, Japanese, German, Hebrew, French and Korean languages.

Primary LanguageHTMLApache License 2.0Apache-2.0

Tagify

Go Report Card Coverage GoDoc Mentioned in Awesome Go

Tagify can recieve STDIN, file or HTTP address as an input and return a list of most popular words ordered by popularity as an output.

More info about what is "Tagify" and the reasons behind it can be found here.

Supported formats:

  • Plain text
  • HTML
  • Markdown

Supported languages:

  • English
  • Russian
  • Chinese
  • Hindi
  • Hebrew
  • Spanish
  • Arabic
  • Japanese
  • German
  • French
  • Korean

Want to see it in action? Visit Tagify Playground.

Example, "tagify" this repository (with the limit of 5 tags):

tagify -s https://github.com/zoomio/tagify -l 5

In a code (see cmd/cli/cli.go).

Use -no-stop flag to disable filtering out of the stop-words.

Extensions (Beta)

Since v0.50.0 Tagify has added support for extensions. See extension/extension.go and its usages and implementations in processor/html/extension.go. You can see an example at processor/html/extension_test.go.

Installation

Binary

Get the latest release by running this command in your shell:

For MacOS:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/zoomio/tagify/master/_bin/install.sh)" -o darwin

For MacOS (arm64):

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/zoomio/tagify/master/_bin/install.sh)" -o darwin arm64

For Linux:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/zoomio/tagify/master/_bin/install.sh)" -o linux

For Windows:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/zoomio/tagify/master/_bin/install.sh)" -o windows

Go dependency

go get -u github.com/zoomio/tagify/...

Changelog

See CHANGELOG.md

Contributing

See CONTRIBUTING.md

License

Released under the Apache License 2.0.

Buy Me A Coffee