Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MilesMcBain/gistfo
Turn your RStudio untitled tabs into gists. You monsters.
https://github.com/MilesMcBain/gistfo
Last synced: 3 months ago
JSON representation
Turn your RStudio untitled tabs into gists. You monsters.
- Host: GitHub
- URL: https://github.com/MilesMcBain/gistfo
- Owner: MilesMcBain
- License: other
- Created: 2017-08-19T05:05:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-27T19:17:28.000Z (over 4 years ago)
- Last Synced: 2024-11-09T23:02:12.178Z (3 months ago)
- Language: R
- Size: 540 KB
- Stars: 143
- Watchers: 6
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - MilesMcBain/gistfo - Turn your RStudio untitled tabs into gists. You monsters. (R)
README
# Get It Somewhere The F*** Online
Turn your RStudio untitled tabs into gists. You monsters.
### 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.

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

## Installation
```r
# 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
```r
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()`