https://github.com/danielgatis/go-vte

A library to parse terminal escape sequences (almost) exactly how the real hardware does.

https://github.com/danielgatis/go-vte

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.3%) to scientific vocabulary

Keywords

go golang parser terminal-emulator vt100 vte
Last synced: 5 months ago · JSON representation

Repository

A library to parse terminal escape sequences (almost) exactly how the real hardware does.

Basic Info
  • Host: GitHub
  • Owner: danielgatis
  • License: mit
  • Language: Go
  • Default Branch: main
  • Size: 102 KB
Statistics
  • Stars: 26
  • Watchers: 2
  • Forks: 2
  • Open Issues: 0
  • Releases: 4
Topics
go golang parser terminal-emulator vt100 vte
Created almost 6 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

go-vte

Go Report Card License MIT Go Doc

A GO version of https://github.com/alacritty/vte.

The pkg vtparse implements a state machine that mirrors the behaviour of DEC (Digital Equipment Corporation) VT hardware terminals. The state machine was originally described by Paul Williams; more information can be found here: http://www.vt100.net/emu/decansiparser.

Install

bash go get -u github.com/danielgatis/go-vte

And then import the package in your code:

go import "github.com/danielgatis/go-vte"

Example

Please look at: examples/parserlog/main.go

❯ echo -ne "Hello\nWorld" | go run ./examples/parserlog/main.go [Print] H [Print] e [Print] l [Print] l [Print] o [Execute] 0a [Print] W [Print] o [Print] r [Print] l [Print] d

License

Copyright (c) 2020-present Daniel Gatis

Licensed under MIT License

Owner

  • Name: Daniel Gatis
  • Login: danielgatis
  • Kind: user
  • Location: Recife - PE

GitHub Events

Total
  • Release event: 1
  • Watch event: 5
  • Push event: 1
  • Create event: 1
Last Year
  • Release event: 1
  • Watch event: 5
  • Push event: 1
  • Create event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 1
  • Total pull requests: 2
  • Average time to close issues: about 9 hours
  • Average time to close pull requests: 5 days
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 4.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 7 hours
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • vito (2)
  • aymanbagabas (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 3
  • Total dependent repositories: 1
  • Total versions: 10
proxy.golang.org: github.com/danielgatis/go-vte
  • Versions: 10
  • Dependent Packages: 3
  • Dependent Repositories: 1
Rankings
Dependent packages count: 4.2%
Dependent repos count: 4.7%
Average: 9.2%
Stargazers count: 9.3%
Forks count: 18.7%
Last synced: 6 months ago