暂无描述

Charles E. Lehner 2271e8aa0d Handle invalid date locale 3 年之前
lib 2271e8aa0d Handle invalid date locale 3 年之前
locale f7f2a80007 Support remote branches 7 年之前
static fdb413fd56 Remove emoji-named-characters 5 年之前
.gitignore 6ca8b85e4f spike into using very early pull-hyperscript 8 年之前
README.md 6a7b2991a9 Move readme screenshots into blobs 6 年之前
index.js d19c73f6a5 Use hashlru 5 年之前
package.json 2e0f4754d7 2.12.0 5 年之前
schemas.md afbb585e65 Update line-comment schema doc 7 年之前
server.js 18def954d9 Exit when lost ssb client connection 8 年之前

README.md

git-ssb-web

A web interface for git repos on ssb.

Public installations:

Install

Requirements:

Optional requirement:

  • ssb-private scuttlebot plugin

Install via ssb-npm:

npm install -g git-ssb-web --registry=http://localhost:8043/

Or, if you also want the git remote helper and other goodies, install the git-ssb suite:

npm install -g git-ssb --registry=http://localhost:8043/

Usage

NOTE: If you are running a modern version of Patchwork, and have installed git-ssb-web, it will automatically be available at http://localhost:7718 whenever you run Patchwork, and you do not need to start it separately.

git ssb web [<options>] [<host:port>]

host and port override the host and port settings from the config (described below), and default to localhost:7718.

Options are passed to ssb-config, so e.g. --public sets config {"public": true}.

Config

~/.ssb/config:

{
  "public": false,
  "git-ssb-web": {
    "host": "127.0.0.1",
    "port": 7718,
    "computeIssueCounts": false
  }
}

top-level config options:

  • public (boolean): make the app not publish messages, so it is more suitable for public web hosting. Disables making digs or modifying issues, opening pull-requests, etc.

git-ssb-web config options:

  • host: hostname to listen on. defaults to localhost.
  • port: port to listen on. defaults to 7718.
  • computeIssueCounts (boolean): Calculate counts of open issues and pull requests to display in the navigation links of a repo. This involves an expensive query at startup. Default: false.

Screenshots

screenshot

Old screenshots:

screenshot of a user's activity

screenshot of a pull request

License

Copyright (c) 2016-2019 Charles Lehner and contributors

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.