Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including bloom-cli with all npm packages installed. Try it out:

bloom-cli lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("bloom-cli/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

bloom-cli v0.2.4

Export a group of sheets from Ulysses and make a website out of them!

#bloom-cli

A command line utility to create a multipage static website from a Ulysses HTML export

##Usage

  1. Open a terminal and type npm install bloom-cli -g to install bloom-cli globally, letting you bloom from wherever you are.
  2. When you're exporting HTML from Ulysses, choose "Full Page" format. Save it somewhere you can navigate to in the terminal / command prompt (I usually make a folder and save it in there, then open a terminal at that folder).
  3. Navigate (via terminal / prompt) to the folder where you saved your HTML file - usually it's named index.html
  4. Type bloom in your terminal.
  5. Answer the questions (like "What is the name of your project", etc.) and an index page will pop up in a browser with your linked files all ready for you to click.
  6. If you chose to upload via built-in FTP, navigate to the new location and check out your new site. If you want to upload yourself, throw the contents of the index-bloomed folder into your favorite FTP program. Either way, bloom-cli will pop open a local index page for you to peruse.

###Styles

Take advantage of Ulysses' styles marketplace. Any of the downloaded HTML styles from http://styles.ulyssesapp.com/ will be integrated into your bloomed project, provided you chose a style when exporting HTML and used the Full Page option.

###Cover images

If you have a folder called images in the same location as your export location (make one) and then inside that a file called cover.jpg the image will be sucked into your project and show up on your index page after you bloom. Va va voom.

###Exclude some sheets

In Ulysses, just add the % symbol in the title of any of your sheets. These files will be created but excluded from the index file, so they won't show on the list. I chose a % symbol because it means "unfinished" to me.

###Show word counts? Alphabetize links on index page?

Some of the questions the program will ask you is if you'd like to show words next to the links on the index page, or if you'd like those links alphabetized. Say y if yeah, default is nah.

###FTP upload included

Now bloom-cli will ask you if you want your project uploaded, and will ask you for FTP credentials.

###I don't want to upload through the CLI

Open up FileZilla (or whatever FTP program people are using these days) and make a folder on your server to copy the files from index-bloomed into. Then navigate there in your browser. Voila: a website made from your Ulysses stack.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free