Tiny utility to download file from GitHub

Related tags

Network gget
Overview

gget

I needed a way to download file from GitHub without going to its raw version and I made this tiny program.

If there is a way to do it with a cURL, good but I didn't want to search for it online.

Install

Requirements:

  • Go installed
go install github.com/tsivinsky/[email protected]

If you don't have Go installed, you can install binary from latest release on github.com/tsivinsky/gget/releases

Usage

By default, gget will print file content to standard output.

If you want to use file as an output, you can add -o flag

gget https://github.com/tsivinsky/gget/blob/master/main.go -o gget.go
Issues
  • [feature] get several files at once

    [feature] get several files at once

    specify glob and download all matching files

    this example will download tabs.lua and git.lua files

    gget https://github.com/tsivinsky/dotfiles/blob/master/neovim/.config/nvim/lua/daniil/{tabs|git}.lua
    

    and this one will download all files ending in .lua in daniil directory

    gget https://github.com/tsivinsky/dotfiles/blob/master/neovim/.config/nvim/lua/daniil/*.lua
    
    enhancement 
    opened by tsivinsky 0
  • get specified lines of file

    get specified lines of file

    GitHub uses hash in urls for lines, so user should be able to get code from specified lines only

    example url https://github.com/tsivinsky/dotfiles/blob/master/config/nvim/init.lua#L117-L120

    enhancement 
    opened by tsivinsky 0
Owner
Daniil Tsivinsky
In love with code and video games
Daniil Tsivinsky
Automatically compress podcasts to tiny file sizes for bandwidth constrained devices like cellular.

tinycast Automatically compress podcasts to tiny file sizes for bandwidth constrained connections like cellular or satellite.

Stephen Holiday 4 Jan 15, 2022
Capdns is a network capture utility designed specifically for DNS traffic. This utility is based on tcpdump.

Capdns is a network capture utility designed specifically for DNS traffic. This utility is based on tcpdump. Some of its features include: Unde

Infvie Envoy 10 Feb 26, 2022
A C/S Tool to Download Torrent Remotely and Retrieve Files Back Over HTTP at Full Speed without ISP Torrent Limitation.

remote-torrent Download Torrent Remotely and Retrieve Files Over HTTP at Full Speed without ISP Torrent Limitation. This repository is an extension to

Bruce Wang 58 Aug 9, 2022
A download manager package for Go

grab Downloading the internet, one goroutine at a time! $ go get github.com/cavaliercoder/grab Grab is a Go package for downloading files from the in

Ryan Armstrong 1.1k Aug 4, 2022
Concurrent download manager built in Go

Golang Download Manager - Weekend Project A concurrent download manager written in pure Go without any dependency. I wrote this code for my YouTube vi

Muhammad Usman 41 Aug 5, 2022
Download movie from YTS

Torrent-Box Download movie form YTS without visiting to YTS built top on anacrolix/torrent lib. Motivation Most of the times, We are lazy people; to s

Sithum Bopitiya 21 Jul 30, 2022
A quick and dirty but useful tool to download each text/html page from the wayback machine for a specific domain and search for keywords within the saved content

wayback-keyword-search A quick and dirty but useful tool to download each text/html page from the wayback machine for a specific domain and search for

null 41 Apr 20, 2022
🍔 Product-storage service, work on gRPC. Client sends the URL to download products, and requests the result.

?? Product-storage service, work on gRPC. Client sends the URL to download products, and requests the result. The server transfer request to a third-party resource for .csv-file uploading and saves the products to own database.

Pavel V 9 Dec 16, 2021
Moviefetch: a simple program to search and download for movies from websites like 1337x and then stream them

MovieFetch Disclaimer I am NOT responisble for any legal issues or other you enc

Hashm 2 May 12, 2022
null 38 Aug 3, 2022
gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code

gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code

frenchy77 0 Jan 24, 2022
gproxy is a tiny service/library for creating lets-encrypt/acme secured gRPC and http reverse proxies

gproxy is a reverse proxy service AND library for creating flexible, expression-based, lets-encrypt/acme secured gRPC/http reverse proxies GProxy as a

null 15 Mar 25, 2022
A tiny command line DNS client with support for UDP, DoT, DoH, and DoQ.

q A tiny command line DNS client with support for UDP, DoT, DoH, and DoQ. Usage q command line DNS client (https://github.com/natesales/q) Usage: q

Nate Sales 729 Aug 11, 2022
Tiny packet forwarder for golang

Tiny Packet Forwarder Usually, I use iptables on Linux to do forward. i encounter some problems sometime, for example: RDP disconnect immediately afte

null 6 May 31, 2022
A tiny calculator with RPN, written on golang

A tiny calculator with RPN, written on golang This is my first project on golang, so it is not as serious project as a lang skills practice. Anyway lo

floordiv 1 Dec 15, 2021
A tiny client and server for tinysql

Tiny Client/Server a tiny client and server for tinysql. Start // start server

null 1 Dec 21, 2021
DeepCopy a portable app that allows you to copy all forms of specified file types from your entire file system of the computer

DeepCopy a portable app that allows you to copy all forms of specified file types from your entire file system of the computer

subrahmanya  s hegade 1 Dec 20, 2021
Generates file.key file for IPFS Private Network.

ipfs-keygen Generates file.key file for IPFS Private Network. Installation go get -u github.com/reixmor/ipfs-keygen/ipfs-keygen Usage ipfs-keygen > ~/

Camilo Abel Monreal Aguero 0 Jan 18, 2022
Simple utility to set the WSL2 subnet to a specific range

WSL subnet utility This is a small Go utility to set the WSL2 host and subnet. It achieves this by: deleting the existing WSL network creating a new o

Michael Barber 5 Aug 3, 2022