npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@arietta-studio/arietta-compass

v1.0.3

Published

Arietta Compass is a CLI tool that uses ChatGPT to generate Gitmoji-based commit messages

Downloads

13

Readme

Arietta Compass is a CLI tool that uses ChatGPT to generate Gitmoji-based commit messages

Changelog · Report Bug · Request Feature

TOC

✨ Features

  • [x] 🤯 Supports auto-generating commit messages based on diffs using ChatGPT
  • [x] 🛠️ Supports streamlined commit message editing workflow
  • [x] 😜 Supports adding Gitmojis
  • [x] 📝 Supports Conventional Commits specification
  • [x] ⚡️ Supports pulling a list of issues and convenient binding
  • [x] 💄 Supports custom prompts
  • [x] 🗺️ Supports multi-language commit messages

📦 Installation

To install Arietta Compass, run the following command:

npm install -g @arietta-studio/arietta-compass

[!IMPORTANT]
Please make sure you have Node.js version >= 18

🤯 Usage

You can use the arietta-compass command to generate a commit message for your staged changes:

$ git add <files...>
$ arietta-compass

[!NOTE]
Use the acgit alias if arietta-compass is too long for you.

AI mode

With AI mode, you can generate a complete commit message using ChatGPT.

[!IMPORTANT]
To use AI auto-generation, you need to fill in your OpenAI token in the settings by arietta-compass -o. and if you have special network requirements, you can add OpenAI's forwarding address in the settings.

Editor mode

In Editor mode, you can choose the <type>(<optional scope>): <subject> [<issues>] format by following a simple flow.

[!NOTE]
If your project is a GitHub repository, the Editor mode feature will automatically fetch the issues associated with your repository. You can select multiple issues to link to your commit message by space .

Git hook

You can integrate Arietta Compass with Git via the prepare-commit-msg hook. This allows you to use Git as you normally would and edit the commit message before committing.

Install

To install the hook in the Git repository, run the following command:

$ arietta-compass --init # or use short flag -i

Uninstall

To uninstall the hook from the Git repository, run the following command:

$ arietta-compass --remove # or use short flag -r

Configuration

To configure Arietta Compass, run the following command:

$ arietta-compass --option # or use short flag -o
  • To use AI auto-generation, you need to fill in your OpenAI token in the settings.
  • To automatically pull private issues, you need to fill in your GitHub token with repo permissions in the settings.

Options

Arietta Compass supports the following options:

--commit -c Interactively commit using the prompts
--option -o Setup arietta-compass preferences
--help -h Print basic options
--init -i Initialize arietta-compass as a commit hook
--remove -r Remove a previously initialized commit hook
--list -l List all the available commit type
--version -v Print arietta-compass installed version

⌨️ Local Development

You can use Github Codespaces for online development:

Or clone it for local development:

$ git clone https://github.com/arietta-studio/arietta-tools.git
$ cd arietta-tools
$ bun install
$ cd packages/arietta-compass
$ bun dev

🤝 Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you’re made of.

Credits


📝 License

Copyright © 2024 Arietta Studio. This project is MIT licensed.