Giter Club home page Giter Club logo

grterm's Introduction

grterm - A Terminal Recorder

A really simple terminal recorder compatible with the ttyrec format written in Go.

Run Tests Build

Usage

You can bring this up by doing grterm --help.

Usage:
  -command string
    	Command to execute as shell (default "<YOUR_LOGIN_SHELL>")
  -noresize
    	Disables insertion of resize escape codes
  -output string
    	Save path of recording (default "rec.ttyrec")

Installation

Grab a build from the default branch over in the Build action. I try to make sure that the default branch is always prod-ready.

Resizability

Some terminal emulators allow you to configure escape-code driven resizes. The specific configuration for your terminal emulator may vary.

For iTerm (which is what I use), it is by default disabled by the setting

Profile > Terminal > Disable session-initiated window resizing

Note that not all terminal emulators know what to do with this, so be careful. You can disable inserting them by using the --noresize flag.

If a terminal emulator is not compatible with these, it may render the escape sequence. I know iTerm works, and there's no reason xterm wouldn't either, but YMMV.

Reusable Bits

pkg/ttyrec implements a writer that is compatible with the ttyrec format. I use a pty library and just multiwrite to a ttyrec writer.

grterm's People

Contributors

rebeccajae avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

liangqing227

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.