Deno like and GoLang like Mode in ES and commonjs: Replace nodejs require function with `requireurls` function or `use loader functionality using loader.mjs` replacing import functionality that can fetch remote urls. `require-urls` helps you require remot
Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab
Open a URL via the operating system (http: in default browser, mailto: in mail client etc.
Parses data: URLs
Generate a unique character string suitible for use in files and URLs.
utils for webpack loaders
Sitemap-generating lib/cli
Normalize a URL
PostHTML plugin for transforming URLs. A fork of posthtml/posthtml-urls.
Get all URLs in a string
Provides metadata and conversions from repository urls for GitHub, Bitbucket and GitLab
Library to work against complex domain names, subdomains and URIs.
TypeScript definitions for data-urls
Global HTTP/HTTPS proxy configurable using environment variables.
A low-level library for generating Ed25519-signed URLs.
Polyfill for the URLPattern API
DOM URLs for Node
Check if a URL is relative
Header anchors for markdown-it.
PostHTML plugin for transforming URLs.
Strict URL sanitization with security-focused validation
Open a URL via the operating system (http: in default browser, mailto: in mail client etc.
Utility to automatically link the URLs, email addresses, phone numbers, hashtags, and mentions (Twitter, Instagram) in a given block of text/HTML
PostCSS plugin Rebase URLs to a given root URL.
This is a plugin for converting urls in markdown files to relative paths required by Jekyll.
Ruby wrapper for interacting with Solrj objects, such as org.apache.solr.client.solrj.impl.HttpSolrServer
validates provides a set of commonly required validators (such as Email, Url, etc.) for Rails applications
Simple signed URL generator for Google Cloud Storage. No API requests required to generate signed URL.
Generates dummy URLs to hit Rails 3 applications' routes. Since POST and PUT requests require more information than an URL, it uses dummy to generate appropriate data for these requests
Google Safe Browsing v3 Lookup is a lighter alternative to the full API. The service allows users to check up to 10,000 URLs a day against their list og phishing and malicious sites. A free API key is required.
Adds a set of view methods that allow the users to create sharing buttons for multiple platforms. This gem allows you to customise the url for each platform adding 'tracking' string if required.
a gem to generate an image URL from shortened URLs from common photo sharing tools. Supports twitter/photobucket, twitpic, yfrog, instagram and tweetphoto/plixi/lockerz. It also includes support for the twitter gem, which helps with expanding t.co and bit.ly shortened URLs. Flickr is not supported as it would require a service call.
a gem to generate an image URL from shortened URLs from common photo sharing tools. Supports twitter/photobucket, twitpic, yfrog, instagram and tweetphoto/plixi/lockerz. It also includes support for the twitter gem, which helps with expanding t.co and bit.ly shortened URLs. Flickr is not supported as it would require a service call.
Gem for Rails that can generate metaitems to your project. For properly work require ActiveRecord, ERB, Playmo. Metaitems is the functionality (model, view, controller, route) to manage name, description, keywords and url nick for html page.
Gem to interact with the Rls.io/u url shortner and /p/ paste filecontent gem. Usage: require 'rlsgem' Rlsgem.cut('http://www.too.long.url/and/sub/dirs') or Rlsgem.paste_file('Paste title','/path/of/file/to/paste')
CORTO - your url shortner gem ----------------------------- - Yet another url shortner? corto is a ruby gem that shorten a URL for you and store the result in a SQLite3 database. Why the world needs another url shortener? Well, true to be told I don't know the answer and I'm pretty sure this code is far away from being revolutionary. However... corto is funniest! - Usage Using corto as standalone utility is straightforward. In case you want to shorten an url you just launch the program with the url as parameter. % bin/corto http://www.armoredcode.com % corto: http://www.armoredcode.com shrunk as ji5jnu Please note that you've to supply a valid URL, since internally it's parsed and rejected anything but HTTP and HTTPS verbs. % bin/corto funnystatementhere % corto: it seems funnystatementhere is not a valid url to shrink If you want to deflate a shrunk url, you have just to specify the '-d' flag this way. % bin/corto -d ji5jnu % corto: ji5jnu deflated is http://www.armoredcode.com Super easy, isn't it? Now, go ahead and shrink the web! - API A simple corto shortening session start with class initialization, optionally telling which SQLite3 database to use and then mastering the parameter. require 'corto' ... corto = Corto.new # we're now saying the gem we want to use it's internal database stored in db/corto.db s = corto.shrink('http://www.armoredcode.com') # s now stores the shrinked url that is already added to database if not present. # If you'll pass an invalid url to shrink(), nil will be returned instead Deflating a URL is super easy as well # The deflate process is quite straightforward as well d = corto.deflate(s) # d has now the deflated url or nil if that url was not found You can also count how many urls contained into db # If you want to know how many urls you have in your database, just call the count() method. puts 'Hey, I have stored ' + corto.count() + ' urls' And finally you can purge your db # Tired of your database and time for a massive clean has come? Let's purge the db. corto.purge # corto.count == 0 now - Note on Patches/Pull Requests * Fork the project. * Make your feature addition or bug fix. * Add tests for it. This is important so I don’t break it in a future version unintentionally. * Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull) * Send me a pull request. Bonus points for topic branches. - Copyright Copyright © 2011 Paolo Perego. See LICENSE for details.