{"id":13858037,"url":"https://github.com/hrbrmstr/fileio","last_synced_at":"2025-10-29T01:30:43.294Z","repository":{"id":141238176,"uuid":"132012660","full_name":"hrbrmstr/fileio","owner":"hrbrmstr","description":"⏳ Ephemeral File, Text or R Data Sharing with 'file.io'","archived":false,"fork":false,"pushed_at":"2018-05-04T01:58:53.000Z","size":32,"stargazers_count":23,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-06T03:04:55.342Z","etag":null,"topics":["fileio","r","rstats"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/watch?v=usXZNnc0JK4","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrbrmstr.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-05-03T15:09:35.000Z","updated_at":"2023-03-08T05:48:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"d8c5a626-2bbb-424f-a138-5180c6879ebd","html_url":"https://github.com/hrbrmstr/fileio","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Ffileio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Ffileio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Ffileio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Ffileio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrbrmstr","download_url":"https://codeload.github.com/hrbrmstr/fileio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219858513,"owners_count":16556043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fileio","r","rstats"],"created_at":"2024-08-05T03:01:54.668Z","updated_at":"2025-10-29T01:30:42.994Z","avatar_url":"https://github.com/hrbrmstr.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: rmarkdown::github_document\n---\n\n[![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/fileio.svg?branch=master)](https://travis-ci.org/hrbrmstr/fileio) \n[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/hrbrmstr/fileio?branch=master\u0026svg=true)](https://ci.appveyor.com/project/hrbrmstr/fileio) \n[![Coverage Status](https://img.shields.io/codecov/c/github/hrbrmstr/fileio/master.svg)](https://codecov.io/github/hrbrmstr/fileio?branch=master)\n\n# fileio\n\nEphemeral File, Text or R Data Sharing with 'file.io'\n\n## Description\n\nThe 'file.io' \u003cfile.io\u003e service enables ephemeral, convenient\nand anonymous file sharing. Methods are provided to upload existing files,\nR data objects or text messages to this service.\n\n## What's Inside The Tin\n\nThe following functions are implemented:\n\n- `fi_post_file`:\tPost a file to file.io\n- `fi_post_rdata`:\tPost an R object to file.io\n- `fi_post_text`:\tPost text to file.io\n\n## Installation\n\n```{r eval=FALSE}\ndevtools::install_github(\"hrbrmstr/fileio\")\n```\n\n```{r message=FALSE, warning=FALSE, error=FALSE, include=FALSE}\noptions(width=120)\n```\n\n## Usage\n\n```{r message=FALSE, warning=FALSE, error=FALSE}\nlibrary(fileio)\n\n# current verison\npackageVersion(\"fileio\")\n\n```\n\n### Post a file\n\n```{r}\n(x \u003c- fi_post_file(system.file(\"extdat\", \"tst.txt\", package = \"fileio\")))\n\nreadLines(con \u003c- url(x$link), warn = FALSE)\n\nclose(con)\n```\n\n### Post text\n\n```{r}\n(x \u003c- fi_post_text(\"Hi Noam!\", \"2d\"))\n\nreadLines(con \u003c- url(x$link), warn = FALSE)\n\nclose(con)\n```\n\n### Post R data\n\n```{r}\nfi_post_rdata(\n  list(\n    mtcars = mtcars,\n    iris = iris,\n    message = \"Hi Noam!\"\n  )\n) -\u003e x\n\nstr(\n  readRDS(con \u003c- url(x$link)), \n  1\n)\n\nclose(con)\n```\n\n## Code of Conduct\n\nPlease note that this project is released with a [Contributor Code of Conduct](CONDUCT.md). By participating in this project you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Ffileio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrbrmstr%2Ffileio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Ffileio/lists"}