https://github.com/atelierarith/terminalgat.jl

Wrapper of Go implementation `gat` (🐱 cat alternative written in Go.) for Julian

https://github.com/atelierarith/terminalgat.jl

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 (12.8%) to scientific vocabulary

Keywords

golang julia julialang
Last synced: 9 months ago · JSON representation

Repository

Wrapper of Go implementation `gat` (🐱 cat alternative written in Go.) for Julian

Basic Info
Statistics
  • Stars: 6
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 6
Topics
golang julia julialang
Created over 1 year ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

TerminalGat Build Status Stable Dev Aqua QA

TL;DR

Typing SVG

Description

This package TerminalGat.jl provides Julia interface for gat. It allows to display files and images in the Julia's REPL.

Setup

  • Install Julia. Once you've done, you can use julia command in your terminal.

``sh $ julia _ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ _ | | | | || | | | (| | | Version 1.10.3 (2024-04-30) / |_'|||_'| | Official https://julialang.org/ release |_/ |

julia> using Pkg; Pkg.add("TerminalGat") ```

How to use

https://github.com/user-attachments/assets/6c251619-7669-4170-afe0-dbb699f39390

Our Julia package TerminalGat.jl exports

  • gat
  • gess
  • @gess
  • @code
  • @gode
  • @search
  • @gearch

gat

julia julia> using TerminalGat julia> gat("Project.toml")

Internally, our package uses JuliaDocs/IOCapture.jl to capture the standard output generated by the go binary gat.

If your terminal supports Sixel, you can print images.

julia julia> using TerminalGat julia> using Plots; plot(sin); savefig("sin.png") julia> gat("sin.png")

gess

gess works something like gat + less:

julia julia> using TerminalGat julia> gess("Project.toml")

Internally, our package uses ronisbr/TerminalPager.jl to scroll through content that does not fit in the screen.

@gess, @code, @gode

The @gess macro works like InteractiveUtils.@less, but highlights Julia code.

image

The @code extracts a method definition from the source code that defines the method.

The @gode macro works like @code, but highlights Julia code.

image

@search, @gearch

The @search works like tkf/InteractiveCodeSearch.jl allowing us to choose the code we want to read.

The @gearch macro works @seach with gat feature; allowing us to read syntax highlighted code by gat.

https://github.com/user-attachments/assets/fef6b270-1ec3-4a04-a3a8-9213cb4883ee

Owner

  • Name: AtelierArith
  • Login: AtelierArith
  • Kind: organization
  • Email: contact@atelier-arith.jp
  • Location: Japan

Enhance "Math meets Art"

GitHub Events

Total
  • Create event: 20
  • Release event: 6
  • Issues event: 9
  • Watch event: 7
  • Delete event: 13
  • Issue comment event: 26
  • Push event: 34
  • Public event: 1
  • Pull request event: 24
Last Year
  • Create event: 20
  • Release event: 6
  • Issues event: 9
  • Watch event: 7
  • Delete event: 13
  • Issue comment event: 26
  • Push event: 34
  • Public event: 1
  • Pull request event: 24

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 5
  • Total pull requests: 25
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 5 hours
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 1.8
  • Average comments per pull request: 0.0
  • Merged pull requests: 22
  • Bot issues: 0
  • Bot pull requests: 3
Past Year
  • Issues: 5
  • Pull requests: 25
  • Average time to close issues: 1 day
  • Average time to close pull requests: about 5 hours
  • Issue authors: 3
  • Pull request authors: 3
  • Average comments per issue: 1.8
  • Average comments per pull request: 0.0
  • Merged pull requests: 22
  • Bot issues: 0
  • Bot pull requests: 3
Top Authors
Issue Authors
  • terasakisatoshi (3)
  • JuliaTagBot (1)
  • theogf (1)
Pull Request Authors
  • terasakisatoshi (22)
  • github-actions[bot] (2)
  • dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
dependencies (1) github_actions (1)

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 7
juliahub.com: TerminalGat

Wrapper of Go implementation `gat` (🐱 cat alternative written in Go.) for Julian

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 3.2%
Downloads: 5.4%
Average: 8.3%
Dependent packages count: 16.3%
Last synced: 10 months ago

Dependencies

.github/workflows/CI.yml actions
  • actions/checkout v4 composite
  • julia-actions/cache v2 composite
  • julia-actions/julia-buildpkg v1 composite
  • julia-actions/julia-runtest v1 composite
  • julia-actions/setup-julia v2 composite
.github/workflows/CompatHelper.yml actions
.github/workflows/Documenter.yml actions
  • actions/checkout v4 composite
  • julia-actions/cache v2 composite
  • julia-actions/julia-buildpkg v1 composite
  • julia-actions/julia-docdeploy v1 composite
  • julia-actions/setup-julia v2 composite
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite