GithubHelp home page GithubHelp logo

fredriknoren / ungit Goto Github PK

View Code? Open in Web Editor NEW
10.4K 244.0 637.0 20.66 MB

The easiest way to use git. On any platform. Anywhere.

License: MIT License

JavaScript 86.45% HTML 8.52% Less 3.58% TypeScript 1.45%
ungit javascript git nodejs ui

ungit's Introduction

ungit

NPM version CI Join the chat at https://gitter.im/FredrikNoren/ungit

The easiest way to use git. On any platform. Anywhere.

xkcd

Git is known for being a versatile distributed source control system that is a staple of many individuals, communities, and even for the City of Chattanooga to crowd source bicycle parking locations. However, it is not known for userfriendliness or easy learning curve.

Ungit brings user friendliness to git without sacrificing the versatility of git.

Follow @ungitui on twitter

Quick intro to ungit: https://youtu.be/hkBVAi3oKvo

Screenshot

Installing

Requires node.js (≥ 18), npm (≥ 9.8.1, comes with node.js) and git (≥ 2.34.x). To install ungit just type:

npm install -g ungit

NOTE: If your system requires root access to install global npm packages, make sure you use the -H flag:

sudo -H npm install -g ungit

Prebuilt electron packages are available here (git is still required).

Using

Anywhere you want to start, just type:

ungit

This will launch the server and open up a browser with the ui.

Configuring

Put a configuration file called .ungitrc in your home directory (/home/USERNAME on *nix, C:/Users/USERNAME/ on windows). Configuration file must be in json format. See source/config.js for available options.

You can also override configuration variables at launch by specifying them as command line arguments; ungit --port=8080. To disable boolean features use --no: ungit --no-autoFetch.

Example of ~/.ungitrc configuration file to change default port and enable bugtracking:

{
	"port": 8080,
	"bugtracking": true
}

PGP

Git and github both supports PGP signing. Within Ungit these features can be enabled via doing either one of the below two actions.

  • git config --global commit.gpgsign true (or without --global at the repo)
  • Add isForceGPGSign: true to ungit.rc file

Currently, Ungit DOES NOT support GPG authentication! While git allows robust programmatic authentication via credential-helper, I could not find an easy way to do something equivalent with GPG.

Therefore, password-less gpg authentication or 3rd party gpg password must be configured when using Ungit to commit with gpg. Below are several way to enable password-less gpg authentication for various OSs.

  • Cache GnuPG passphrase
  • gpg-agent with pinentry-mac
    1. brew install gnupg gpg-agent pinentry-mac
    2. echo "test" | gpg --clearsign # See gpg authentication prompt when gpg is accessed.
    3. Optionally you can save it to keychain. gpg_save_screenshot

I understand this is not convenient, but security is hard. And I'd much rather have bit of inconvenience than Ungit having security exposure.

External Merge Tools

If you have your own merge tool that you would like to use, such as Kaleidoscope or p4merge, you can configure ungit to use it. See MERGETOOL.md.

Auto Refresh

Ungit will watch git directory recursively upon page view and automatically refresh contents on git operations or changes on files that are not configured to be ignored in .gitignore.

Text Editor Integrations

atom-ungit Screenshot

brackets-ungit Screenshot

Codiad-OpenUngit screenshot

VSCode-Ungit screenshot

Developing

See CONTRIBUTING.md.

Maintainers

Known issues

  • If you're running MacOSX Mavericks and Ungit crashes after a few seconds; try updating npm and node. See #259 and #249 for details.
  • Ubuntu users may have trouble installing because the node executable is named differently on Ubuntu, see #401 for details.
  • Debian Wheezy's supported git and nodejs packages are too old, therefore download newest git and nodejs tarballs and build from source.
  • Adblocker may block Ungit! Some ad blockers, such as Adblock plus and uBlock, don't like localhost api calls and assume that it is a cross domain attack. Please whitelist {localhost|127.0.0.1|$UngitURL}:{ungit port number}. #887 #892
  • Running git in non English language will result in unexpected behavior! Ungit parses git command results in English to detect repos' states and this causes confusion when git results are not in English. #959

Changelog

See CHANGELOG.md.

License (MIT)

See LICENSE.md. To read about the Faircode experiment go to #974. Ungit is now once again MIT.

Dependency Status devDependency Status

ungit's People

Contributors

abesto avatar bakkerthehacker avatar bes-internal avatar campersau avatar cgty avatar daedalus28 avatar dayaftereh avatar dependabot[bot] avatar erayalakese avatar exsilium avatar fabbi avatar fredriknoren avatar github-actions[bot] avatar hirse avatar jamesjnadeau avatar jung-kim avatar kwonoj avatar linquize avatar lochemage avatar namuol avatar notslang avatar parksb avatar schrej avatar simonwiles avatar srfrnk avatar thatkookooguy avatar wmertens avatar wormeyman avatar ylecuyer avatar zimgil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ungit's Issues

Security/login

Either using the computers credentials, configured credentials, oauth and/or something else.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.