WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

augustjanse/onebox-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onebox-cli

Generates a Onebox element from an URL and fetches some stylesheets. Most of the effort went into figuring out what stylesheets from discourse/discourse that I needed to make it look good. Also necessary parts from phw/discourse-musicbrainz-onebox, which is written as a Discourse plugin.

Run

bundle

before running. Additionally depends on git and wget. Then run

ruby onebox-cli.rb [url]

which will output an HTML element that you can paste in your HTML and a style.css that you can include. Optionally, you can install xclip and do

ruby onebox-cli.rb [url] | xclip -selection c

to get it straight to your clipboard.

About

Generates a Onebox element from an URL and fetches some stylesheets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published