Next: The Lounge, Previous: Overview, Up: Top   [Contents][Index]

4 The Client

The client part of Glean exposes user interfaces. At present the default user interface is “client-repl”: it provides a commandline-like interface built on top of a Guile prompt.

For now the best way to use it is to fire up a Glean REPL and to load the user interface module:

scheme@(guile-user)> ,use (glean client components repl-client-core)

You can also launch the client from a terminal:

glean client options

If no options are specified, glean will load the default client component, repl-client. At present this will simply load the component and spawn a Guile server that you can connect to.

If you have installed “Artanis”, and you want to try the experimental web client, you can specify that Glean should use this component instead by issuing the command as follows:

glean client -c web-client

The web client will by default spawn a web server at http://localhost:3000.

options can be one of the usual suspects (--help, --usage, version) or one of the following:

-i client-id

Start a Glean client using client-id.

The client-id specifies the component you would like to use. Glean searches available components at startup in its core module subdirectories and in the Glean user directory in the clients subdirectory (e.g. ~/.glean/clients).

Core currently provides two client components: repl-client and web-client (the web client is currently highly experimental and requires you to manually install Artanis first).


Start the client in listening mode.

Start a Glean client, but provide a server to connect to from Guile. This enables interactive development and is normally only used when hacking Glean.

Next: The Lounge, Previous: Overview, Up: Top   [Contents][Index]