checkline

checkline is a Unix command line interface (CLI) terminal user interface (TUI) that prompts you to check each line of stdin, to pick each line to output to stdout

https://github.com/sixarm/checkline

Science Score: 44.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.2%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

checkline is a Unix command line interface (CLI) terminal user interface (TUI) that prompts you to check each line of stdin, to pick each line to output to stdout

Basic Info
  • Host: GitHub
  • Owner: SixArm
  • Language: Rust
  • Default Branch: main
  • Size: 50.8 KB
Statistics
  • Stars: 10
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 3 years ago · Last pushed 12 months ago
Metadata Files
Readme Code of conduct Citation

README.md

checkline: checkbox line picker from stdin to stdout

Example:

sh printf "%s\n%s\n%s\n" alpha bravo charlie > example.txt cat example.txt | checkline

You should see each line with a checkbox and text:

txt [ ] alpha [ ] bravo [ ] charlie

Move up and down in the list by typing arrow keys.

Check or uncheck any checkbox by typing space or return, such as:

txt [x] alpha [ ] bravo [x] charlie

Check each line that you want, then type ESC to finish.

The command outputs each line that you checked:

txt alpha charlie

Install

Install checkline as a typical Rust crate:

sh cargo install checkline

If people want other ways, such as with package managers, we welcome help to create these ways.

Purpose

The purpose of this command is a simple picker, that is easy to use, and that work wells in on the command line such as within a pipe.

The purpose isn't intended to handle very long lines, or very long inputs.

Projects with similarities

markline that's the same kind of tool plus markers: https://github.com/sixarm/markline

vipe that can pipe in and out of $EDITOR: https://github.com/juliangruber/vipe

peco simplistic interactive filtering tool: https://github.com/peco/peco

percol adds interactive selection to the traditional pipe concept. https://github.com/mooz/percol

canything interactive grep tools: https://github.com/keiji0/canything

zaw zsh-friendly interactive grep tool: https://github.com/zsh-users/zaw

fzf interactive grep tool written in Go language. https://github.com/junegunn/fzf

Settings

On some systems, you may need to set your localization environment variables.

Example:

sh export LC_COLLATE="en_US.UTF-8" export LC_CTYPE="en_US.UTF-8" export LC_MESSAGES="en_US.UTF-8" export LC_MONETARY="en_US.UTF-8" export LC_NUMERIC="en_US.UTF-8" export LC_TIME="en_US.UTF-8" export LC_ALL="en_US.UTF-8"

Feedback

We welcome constructive criticism and ideas for improvements.

Tracking

  • Program: checkline
  • Version: 1.1.3
  • License: MIT OR BSD OR GPL-2.0 OR GPL-3.0
  • Created: 2022-10-15T12:24:50Z
  • Updated: 2024-06-07T17:43:21Z
  • Website: https://github.com/sixarm/checkline
  • Contact: Joel Parker Henderson (joel@joelparkerhenderson.com)

Owner

  • Name: SixArm
  • Login: SixArm
  • Kind: organization
  • Email: sixarm@sixarm.com
  • Location: San Francisco

SixArm Software

Citation (CITATION.cff)

cff-version: 1.2.0
title: checkline: checkbox line picker from stdin to stdout
message: >-
  If you use this work and you want to cite it,
  then you can use the metadata from this file.
type: software
authors:
  - given-names: Joel Parker
    family-names: Henderson
    email: joel@joelparkerhenderson.com
    affiliation: joelparkerhenderson.com
    orcid: 'https://orcid.org/0009-0000-4681-282X'
identifiers:
  - type: url
    value: 'https://github.com/SixArm/checkline/'
    description: checkline: checkbox line picker from stdin to stdout
repository-code: 'https://github.com/SixArm/checkline/'
abstract: >-
  checkline: checkbox line picker from stdin to stdout
license: See license file

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 22
  • Total Committers: 1
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Joel Parker Henderson j****l@j****m 22
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 12 months ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 4.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: 1 day
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 4.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • David-Valters (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cargo 5,706 total
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 5
  • Total maintainers: 1
crates.io: checkline

checkline: checkbox line picker for stdin line input

  • Documentation: https://docs.rs/checkline/
  • License: MIT OR Apache-2.0 OR GPL-2.0 OR GPL-3.0
  • Latest release: 1.1.3
    published almost 2 years ago
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 5,706 Total
Rankings
Dependent repos count: 29.3%
Dependent packages count: 33.8%
Forks count: 37.5%
Stargazers count: 39.2%
Average: 43.0%
Downloads: 75.5%
Maintainers (1)
Last synced: 8 months ago

Dependencies

Cargo.lock cargo
  • ahash 0.8.0
  • autocfg 1.1.0
  • cc 1.0.73
  • cfg-if 1.0.0
  • crossbeam-channel 0.5.6
  • crossbeam-utils 0.8.12
  • cursive 0.20.0
  • cursive_core 0.3.5
  • darling 0.14.1
  • darling_core 0.14.1
  • darling_macro 0.14.1
  • enum-map 2.4.1
  • enum-map-derive 0.10.0
  • enumset 1.0.12
  • enumset_derive 0.6.1
  • fnv 1.0.7
  • getrandom 0.2.7
  • ident_case 1.0.1
  • itoa 1.0.4
  • lazy_static 1.4.0
  • libc 0.2.135
  • log 0.4.17
  • maplit 1.0.2
  • ncurses 5.101.0
  • num 0.4.0
  • num-complex 0.4.2
  • num-integer 0.1.45
  • num-iter 0.1.43
  • num-rational 0.4.1
  • num-traits 0.2.15
  • num_threads 0.1.6
  • once_cell 1.15.0
  • owning_ref 0.4.1
  • pkg-config 0.3.25
  • proc-macro2 1.0.47
  • quote 1.0.21
  • signal-hook 0.3.14
  • signal-hook-registry 1.4.0
  • stable_deref_trait 1.2.0
  • syn 1.0.102
  • term_size 0.3.2
  • time 0.3.15
  • unicode-ident 1.0.5
  • unicode-segmentation 1.10.0
  • unicode-width 0.1.10
  • version_check 0.9.4
  • wasi 0.11.0+wasi-snapshot-preview1
  • winapi 0.3.9
  • winapi-i686-pc-windows-gnu 0.4.0
  • winapi-x86_64-pc-windows-gnu 0.4.0
  • xi-unicode 0.3.0
Cargo.toml cargo