• Stars
    star
    133
  • Rank 272,600 (Top 6 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created over 5 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Commit message editor

Commit

Commit is an editor that helps you write better Git and Mercurial commit messages.

screenshot

https://apps.gnome.org/app/re.sonny.Commit/

Download on Flathub

Installation

Setup flatpak then

flatpak install re.sonny.Commit
flatpak run re.sonny.Commit # Follow instructions

Tips and trick

Emojis

right-click ➞ Insert Emoji or use the shortcut Ctrl+. 🎉️ The Emoji picker works in any GNOME app 👣️

Open Commit in the center of the screen

On GNOME you can make all new windows open in the center using

gsettings set org.gnome.mutter center-new-windows true

See https://gitlab.gnome.org/GNOME/mutter/-/issues/246

or set and use the move-to-center keybinding

gsettings set org.gnome.desktop.wm.keybindings move-to-center "['<Super><Control><Shift>Space']"

Translation

If you'd like to help translating Commit into your language, please head over to Weblate.

Translation status

Thank you for your help!

Development

cd Commit
git submodule update --init --recursive
./src/local.js --readonly test/fixtures/with-body/COMMIT_EDITMSG

Make changes and hit Ctrl+Shift+Q on the Commit window to restart it.

To pass the tests you have to install a few dependencies

# Install development dependencies
sudo dnf install --assumeyes npm flatpak make desktop-file-utils gjs gtk4-devel libadwaita
npm install
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install --user --assumeyes --noninteractive flathub org.freedesktop.appstream-glib

# Run tests
make test

Flathub builds https://flathub.org/builds/#/apps/re.sonny.Commit

Maintainer

i18n
# To update the pot file
# xgettext -f po/POTFILES -o po/re.sonny.Commit.pot --no-wrap -cTRANSLATORS --from-code=UTF-8
# sed -i "s/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: re.sonny.Commit/" po/re.sonny.Commit.pot
meson compile re.sonny.Commit-pot -C _build


# To create a translation
# msginit -i po/re.sonny.Commit.pot -o po/fr.po -l fr_FR.UTF-8
echo -n " fr" >> po/LINGUAS
meson compile re.sonny.Commit-update-po -C _build

# To update translations
# msgmerge -U po/*.po po/re.sonny.Commit.pot
meson compile re.sonny.Commit-update-po -C _build

See #14 (comment)

Publish new version
  • meson compile re.sonny.Commit-update-po -C _build
  • Update version in meson.build
  • git tag
  • flathub

Building

host
cd Commit
meson --prefix $PWD/install build
ninja -C build install
Flatpak

Use GNOME Builder or

cd Commit
flatpak-builder --user --force-clean --repo=repo --install-deps-from=flathub flatpak re.sonny.Commit.json
flatpak --user remote-add --no-gpg-verify --if-not-exists Commit repo
flatpak --user install --reinstall --assumeyes Commit re.sonny.Commit

Credits

Commit is a fork of Gnomit wich was inspired by Komet.

Many thanks to its original author Aral Balkan of Small Technology Foundation.

Contributors

Copyright

License

GPLv3 or later. Please see COPYING file.

More Repositories

1

Tangram

Browser for your pinned tabs
JavaScript
905
star
2

aria2.js

JavaScript library for aria2, "The next generation download utility."
JavaScript
608
star
3

Workbench

Code playground for GNOME 🛠️
JavaScript
524
star
4

Junction

Application/browser chooser
JavaScript
467
star
5

polygoat

Make JavaScript functions that support both promise and callback styles.
JavaScript
154
star
6

Playhouse

Playground for HTML/CSS/JavaScript
JavaScript
146
star
7

JSON8

JSON toolkit for JavaScript.
JavaScript
104
star
8

OhMySVG

Reduce the size of SVGs
JavaScript
92
star
9

linux-minibook-x

Linux for the Chuwi MiniBook X 2023 / N100
46
star
10

troll

Libraries for GNOME JavaScript (GJS)
JavaScript
45
star
11

Retro

A customizable retro digital segment clock
JavaScript
17
star
12

lightstring

XMPP client library for browsers.
JavaScript
17
star
13

remoteStorage

Playing around with remoteStorage, eventually releasing a lightweight library
TypeScript
5
star
14

mermaid-webkitgtk

JavaScript
5
star
15

owi-535

Applications and libraries for OWI-535 aka. Robotic Arm Edge
JavaScript
4
star
16

Disappear

Free your desktop from cumbersome apps.
JavaScript
4
star
17

broadcaster.js

Server-less cross-tabs messaging
HTML
3
star
18

proctor

Node.js module to lookup CPU and memory usage of a process.
JavaScript
3
star
19

icns.js

Apple Icon Image format (icns) for JavaScript
JavaScript
3
star
20

pya

CLI application to manage and monitor devices
JavaScript
2
star
21

node-bosh

BOSH client implementation library for nodejs.
JavaScript
2
star
22

netflix-desktop-entry

A simple (Linux) desktop entry that will open Netflix with Google Chrome
Makefile
2
star
23

ubiquitous-pancake

JavaScript
2
star
24

readplist

Tiny Node.js module to read any plist file.
JavaScript
2
star
25

outofsoya

Out of soya
TypeScript
1
star
26

gjs-embed

C
1
star
27

HTMLIncludes

JavaScript
1
star
28

sliders

HTML WYSIWYG slides editor
JavaScript
1
star
29

server-stop

Closes all connections and stop the server. Node.js
JavaScript
1
star
30

HTTPClient.js

JavaScript HTTP client library for browsers and Node.js
JavaScript
1
star
31

media-loop

Firefox addon that adds a menu item to control HTML5 audio/video loop.
JavaScript
1
star
32

dezorse

Like dezalgo but let you choose your "asap" function.
JavaScript
1
star