Giter VIP home page Giter VIP logo

yogurl's Introduction

Serve your files and code over HTTP in one command.



What's Yogurl?

Yogurl is the simple command line tool for Yogurl.io

It can be used as a CLI command or as a Node dependency if you prefer.

Requirements

Node.js v5+

CLI Installation

npm install -g yogurl

CLI Usage

$ yogurl <source> [ext]

source: A valid file path or code string

ext: A valid output extension available

Yogurlify a file

$ yogurl path/to/file.js

Yogurlify a file to new extension

$ yogurl path/to/file.txt js

Yogurlify a code string

$ yogurl ".yogurl{ display:yogurl; }" css

Node Usage

Installation

$ npm install yogurl --save

Yogurlify a file

const Yogurl = require('yogurl');

Yogurl.upload('/path/to/file.json', 'json').then((data) => {
  //file is ready
  console.log(data, '');
  console.log(`File is ready at: ${data.data}`);

}).catch((err) => {
  //error
  console.log(err);
});

Yogurlify a code string

const Yogurl = require('yogurl');

Yogurl.upload("var x = 'yogurlify a javascript var';", 'js').then((data) => {
  //file is ready
  console.log(data, '');
  console.log(`File is ready at: ${data.data}`);

}).catch((err) => {
  //error
  console.log(err);
});

Available Output File Extensions

.js

.css

.scss

.map

.json

.... and others to come!

Available Input File Extensions

ANY (supposed)

Why Yogurl?

Yogurl has been developed with one simple goal: urlify code and files as quick as possible. It is built for development purposes, it's not really recommended to use it in a production environment, yogurl urls gets deleted after some time, so that you don't have to take care about them.

Since Yogurl is not backed by any sponsor or funds of any kind: we apologize for any trouble/problem/issue that could eventually happen.

Please don't spam it and use it with moderation, Yogurl is your friend.

Contact Yogurl

Feel free to open an issue or contact us on twitter or come chat on Gitter

Contributing

We are much grateful if you help us to grow and improve the project. Contribute by forking, opening issues, pull requests or whatever.

License

MIT

yogurl's People

Contributors

45kb avatar ma5onic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

yogurl's Issues

Site Down: Issue with the DNS of Yogurl.io

I tried visiting yogurl.io but the site couldn't be reached. Here is what I found:
-Whois lookup shows that the domain is not expired.
-The website did not respond to nslookups, pings or traceroutes.
-It seems like the DNS is not able to resolve any the requests.


These are the results of the test that I performed:

C:\Users\Home>nslookup Yogurl.io
Server: UnKnown
Address: 192.168.0.1

*** UnKnown can't find Yogurl.io: Non-existent domain

C:\Users\Home>nslookup debug Yogurl.io
*** Can't find server address for 'Yogurl.io':
Server: UnKnown
Address: 192.168.0.1

*** UnKnown can't find debug: Non-existent domain

C:\Users\Home>ping Yogurl.io
Ping request could not find host Yogurl.io. Please check the name and try again.

C:\Users\Home>tracert Yogurl.io
Unable to resolve target system name Yogurl.io.

Offline?

When running

Oh not now! Yogurl server is having bad times, let's retry later.

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.