Jump to content
JoshRhoades

Open Web Server Here Workflow - v1.0.0

Recommended Posts

This workflow will take the focused/front Finder window and create a temporary Python Server at that location, using `python -m SimpleHTTPServer`.

 

Function will also open the default web server URL (http://0.0.0.0:8000) in the default browser when the python server has started.

 

This is an extremely handy way to quickly test code in a server environment, especially when working with cross-domain functionality that will not work from localhost/local file server. Basically allowing you to create an ad-hoc/on-demand web server at any Finder location on your mac.

 

Borrows some of the Terminal Finder functionality from Chris Yip's "Terminal Here" workflow: http://chrisyip.im/

 

Download: http://cloud.joshuarhoades.com/3O0c1h3P250l

Share this post


Link to post

I just wanted to say thanks for putting this together. I was about to ask the forum about how I might accomplish this. So far, working like a charm. Cheers!

Edited by alfredpleb

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...