Giter VIP home page Giter VIP logo

friendless-commits's Introduction

Friendless Commits

Important

I haven't actually bought the domain yet, so the endpoints will not line up :(

For when you want to lose all your friends.

A website and CLI endpoint to get questionable commit messages. Visit the site or add ?text for a curl URL.

To add it as a bash command:

git config --global alias.yolo '!git commit -m "$(curl -s https://friendlesscommits.dev/all?text)"' # you may replace "all" with "safe" or "unsafe"

Heavily inspired by What The Commit.

For developers

How to run locally or develop...

Running Locally

Via bun

If you have bun installed, you can simply run:

bun install
bun run serve

Via a docker container

First, copy the example.docker-compose.yml and example.env.local files to the actual file names:

cp ./example.docker-compose.yml ./docker-compose.yml
cp ./example.env.local ./env.local

To launch the docker container, run:

docker-compose up

The server runs on port 3000 by default with the base URL https://friendlesscommits.dev/. You can change these in the .env.local file or in the docker-compose.yml file.

Development

This project uses the bun JS runtime. First, install dependencies:

bun install

Then, to start the development server run:

bun run dev

Contributing

Contributions of code or commit messages are welcome!

You can add messages to messages.ts in the corresponding category. For issues with the code, feel free to make issues or pull requests.

friendless-commits's People

Contributors

fireisgood avatar

Watchers

 avatar

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.