Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

It's your data, look at it anywhere

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 config
Octocat-spinner-32 log
Octocat-spinner-32 public
Octocat-spinner-32 resources
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Capfile
Octocat-spinner-32 epl-v10.html
Octocat-spinner-32 project.clj
Octocat-spinner-32 readme.textile
readme.textile

Mycroft is an generic inspector for the JVM, written in Clojure.

Installation

Run Mycroft as a standalone project:

Embed Mycroft in your own project:

  • in project.clj, add [mycroft/mycroft "0.0.3"] to your
    :dev-dependencies
  • from the repl:
    • run (require '[mycroft.main :as mycroft])
    • launch mycroft on a port of your choice, e.g. (mycroft/-main "8081")

Getting Started

Once you have installed Mycroft per the instructions above, you can
inspect items from the repl in a browser. Try:

  • (inspect alter) to inspect a Clojure var
  • (inspect java.lang.String) to inspect a Java class
  • (inspect (+ 1 2)) to inspect an arbitrary expression

You can also try browsing to the following urls:

  • http://localhost:{yourport} gives an overview tour of Mycroft
  • http://localhost:{yourport}/vars is an entry point for browsing all Clojure vars

License and Copyright

Copyright © Relevance. All rights reserved. The use and distribution
terms for this software are covered by the Eclipse Public License 1.0
(http://opensource.org/licenses/eclipse-1.0.php) which can be found in
the file epl-v10.html at the root of this distribution. By using this
software in any fashion, you are agreeing to be bound by the terms of
this license. You must not remove this notice, or any other, from this software.

Something went wrong with that request. Please try again.