unisoncomputing / share-ui

The UI for Unison Share

Home Page:https://share.unison-lang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unison Share UI

CI

This repository contains the implementation of the Unison Share front end. It talks to the @unisoncomputing/share-api API server backend.

Running Development Server

Prerequisites: node v20 or higher.

  1. Start Share API
  2. Make sure the latest dependencies are installed with by running npm install.
  3. Start the dev server with: API_URL="<SHARE API URL>" npm start

Note that Share API hosts on http://localhost:5424 be default, so its likely what you'll run with, but you can always see the URL when starting Share API.

  1. Visit http://localhost:1234 in a browser.

Dependencies

This depends on the ui-core package via elm-git-install. That package includes both the Unison design system, and a core set of components for working with and rendering Unison definitions and namespaces.

The UI Core dependency can be updated to its latest version with this command:

npm run ui-core-update

To install a specific sha:

npm run ui-core-install -- [SOME_UI_CORE_SHA]

About

The UI for Unison Share

https://share.unison-lang.org

License:MIT License


Languages

Language:Elm 80.0%Language:TypeScript 9.5%Language:CSS 7.9%Language:JavaScript 1.6%Language:HTML 0.8%Language:EJS 0.2%