Skip to content

Conversation

@propensive
Copy link
Owner

@propensive propensive commented Sep 29, 2020

This introduces a very basic REST server for VS Code support.

Clone this repository, then build and install Fury with

make install

If Fury is already running stop it with,

fury stop

and check that no zombie processes remain with,

pgrep fury

If they do, run

killall fury

REST server

Start the new version of Fury by running any Fury command, for example,

fury about

The server should run as an HTTP server on port 6325. Currently it takes (but requires) only a single parameter, path, which specifies the working directory. Any request will respond with a JSON representation of the layer stored in that directory, if there is one.

Any sort of failure will return null, for now.

The server can be tested from the command line with, for example,

curl 'http://localhost:6325/layer?path=/home/work/path/to/some/project'

and checking the contents of the response.

Three endpoints are currently provided,

  • /layer
  • /hierarchy
  • /universe
    for each of the three panels that should be displayed.

Base automatically changed from master to main November 21, 2020 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants