• Stars
    star
    39
  • Rank 669,876 (Top 14 %)
  • Language
    Go
  • License
    MIT License
  • Created over 10 years ago
  • Updated almost 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Terminal utilities for golang

go-termutil

This package exposes some very basic, useful functions:

Isatty(file *os.File) bool

This function will return whether or not the given file is a TTY, attempting to use native operations when possible. It wil fall back to using the isatty() function from unistd.h through cgo if on an unknown platform.

	GetPass(prompt string, prompt_fd, input_fd uintptr) ([]byte, error)

This function will print the prompt string to the file identified by prompt_fd, prompt the user for a password without echoing the password to the terminal, print a newline, and then return the given password to the user. NOTE: not yet tested on anything except Linux & OS X.

More Repositories

1

static-binaries

Various *nix tools built as statically-linked binaries
Shell
2,720
star
2

cpplog

Simple C++ logging library
C++
82
star
3

rough-auditing-tool-for-security

Automatically exported from code.google.com/p/rough-auditing-tool-for-security
C
76
star
4

emoji256

Base256 encoding with emoji
Rust
75
star
5

interfaces-rs

Library to work with network interfaces in Rust.
Rust
52
star
6

rssh

Reverse shell over SSH
Go
41
star
7

goscrape

Structured scraper for Go
Go
24
star
8

docker-rust-musl

Docker container containing a Rust compiler that uses the musl libc on Linux
Shell
21
star
9

go-webapp-skeleton

Skeleton of a Go webapp with an API, DB, migration, static file and template support.
Go
20
star
10

regex-rustgo

Attempt to use the Rust regex library from Go
Go
14
star
11

binscope

Check a Windows PE file for some basic security flags
Go
12
star
12

docker-osxcross

9
star
13

osquery-profiles

Extension table to show information about installed configuration profiles on OS X
C++
8
star
14

imagehost

Simple self-hosted image hosting service.
Go
7
star
15

extika

Elixir wrapper for Apache Tika
Elixir
7
star
16

leveldb-rs

Bindings to LevelDB for Rust
Rust
6
star
17

tinycdb-rs

Bindings to TinyCDB for Rust.
C
5
star
18

build-nix

Collection of bash scripts to build self-contained Nix binaries
Nix
5
star
19

Hoboken

Sinatra-like web framework for Python
Python
5
star
20

MarkovHN

Markov generator for HN. You probably don't want to use this.
5
star
21

csmrand

Golang's math/rand backed onto crypto/rand's CSPRNG
Go
5
star
22

findcrypt

Rust
4
star
23

lua-ext

Standard library / extensions for Lua
Lua
4
star
24

site-monitor

Monitor URLs for changes
Go
4
star
25

demux

Straightforward protocol demultiplexer
Go
4
star
26

mastodon_exporter

Prometheus metric to export data about a Mastodon instance
Go
4
star
27

profiles

Some random reverse-engineering of Apple's ConfigurationProfiles.framework
C++
4
star
28

meta

A bunch of random projects that don't need their own repo
Go
4
star
29

exmagic

libmagic NIF bindings for Elixir
Elixir
4
star
30

keep

Simple self-hosted Google Keep replacement
JavaScript
3
star
31

dotfiles

My dotfiles
Python
3
star
32

json-strip

Strip comments from a JSON file
C++
3
star
33

id

Golang package for generating IDs with some nice properties.
Go
3
star
34

python-testing-helpers

Some helpers and enhancements for the Python unittest module.
Python
3
star
35

docker-musl-clang

Docker image that contains a version of clang built to support the musl libc
Shell
3
star
36

systemd-backoff

Exponential backoff helper for systemd services
Go
3
star
37

bbuild

Pseudo-package manager focused on static binaries.
Shell
3
star
38

pub-block

Rust syntax extension that makes things public
Rust
2
star
39

cmacrop

Better C macros in Python
Python
2
star
40

lzma

Automatically exported from code.google.com/p/lzma
Go
2
star
41

holepunch

Tunnel packets over various different transports
Go
2
star
42

immutable-cursor

An implementation of cursors on top of Facebook's immutable-js
JavaScript
2
star
43

Specter.py

WebKit scripting with Python
Python
2
star
44

lenovo-throttling-rust

Port of https://github.com/erpalma/lenovo-throttling-fix/ to Rust
Rust
2
star
45

bttray

Simple tray icon to swap Bluetooth headset modes
Python
2
star
46

Shift

A generic template library for Python
Python
2
star
47

mastodon-tools

A set of helpful utilities for Mastodon; useful primarily for instance owners/admins
Go
2
star
48

gateway-failover

Failover controller for dual-WAN systems to automatically update default route
Go
1
star
49

docker-nginx-php

Nginx
1
star
50

wolf-old

Simple little boilerplate around httprouter and net/context
Go
1
star
51

aws-ip-scan

Quick-and-dirty scanner for public IPs in AWS
Go
1
star
52

raku

Java
1
star
53

sshcp

Golang helper library to copy a file over SSH
Go
1
star
54

docker-gitlist

Shell
1
star
55

dotfiles-redux

Simpler, more compatible dotfiles
Vim Script
1
star
56

docker-tools

Some useful tools for working with Docker.
Go
1
star
57

enkil

A Python system information module
Python
1
star
58

docker-busybox-nix

Build a Docker image containing the base Nix install
Shell
1
star
59

secure-transport-proxy

Proxy that allows applications to use client certificates in the Apple Keychain via Secure Transport
Rust
1
star
60

docker-transmission

Transmission daemon running in a small Alpine Linux container
Shell
1
star
61

oisc

Old one-instruction-set compiler I wrote
Python
1
star
62

docker-musl-cross

Docker image containing the musl-cross toolchain
1
star
63

computer2mqtt

Publish information about a computer to MQTT
Go
1
star
64

affilpy

Affiliate link library for Python
Python
1
star
65

dahua

Dahua Camera and Doorbell Home Assistant Integration
Python
1
star
66

dashboard

A dashboard. Surprising, huh?
C
1
star
67

futures-multistream

A Rust futures-rs implementation that supports selecting over multiple sub-Streams.
Rust
1
star
68

docker-mingw-w64

1
star
69

socks

SOCKS5 proxy with some useful features
Go
1
star
70

vim-grep-syntax

Vim syntax for grep output
Vim Script
1
star
71

minibashrc

A simple (< 100 lines) and well-commented bashrc that you can wget onto any computer.
Shell
1
star
72

batcher

Package for collecting batches of concurrent calls in Go
Go
1
star
73

enbridge-scraper

Simple Puppeteer-based scraper for Enbridge Gas
Nix
1
star
74

afterarch

Helper functions for storing a ZIP archive appended to a Go binary
Go
1
star
75

hass-addons

Shell
1
star