Skip to content

MilesMcBain/gistfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get It Somewhere The F*** Online

Turn your RStudio untitled tabs into gists. You monsters.

wat

Carbon Edition

Carbon mode opens the code on https://carbon.now.sh and copies gist url to your clipboard so you can easily paste into a carbon tweet.

very niiice

Gistfo The App

Also includes Gistfo App, an RStudio addin for opening, editing, and updating gists in RStudio.

gistfo_app() preview image

Installation

# install.packages("remotes")
remotes::install_github("MilesMcBain/gistfo")

# To install app dependencies as well
remotes::install_github("MilesMcBain/gistfo", dependencies = TRUE)

Usage

As an addin

Select the text or source file tab you would like to turn into a Gist. Then, from the RStudio Addins menu select either Make Private Gist from Text or Tab or Make Public Gist and Send to Carbon.

From the console

library(gistfo)

Make sure an RStudio tab is active or select text in a source file, then run gistfo(). It will open a browser window asking you to authenticate a third-party OAuth application. Should be all good from there.

Carbon mode: gistfoc()

About

Turn your RStudio untitled tabs into gists. You monsters.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages