Giter Site home page Giter Site logo

gmotd's Introduction

gmotd

โ˜•๏ธ About

gmotd is a configurable, dynamic motd generator, written in go.

๐Ÿš€ Installation

# using go directly
$ go install github.com/jon4hz/gmotd@latest

# from aur (btw)
$ yay -S gmotd-bin

# local pkg manager
$ VERSION=v0.1.0

## debian / ubuntu
$ dpkg -i gmotd-$VERSION-linux-amd64.deb

## rhel / fedora / suse
$ rpm -i gmotd-$VERSION-linux-amd64.rpm

## alpine
$ apk add --allow-untrusted gmotd-$VERSION-linux-amd64.apk

# homebrew (macOS & linux)
$ brew install jon4hz/homebrew-tap/gmotd

โœจ Usage

๐Ÿ“ฆ Standalone

You can use gmotd as standalone binary by executing gmotd.

$ gmotd

๐Ÿ”Œ PAM

To automatically display the message of the day, you can use the pam_exec module to execute gmotd.
For example by adding the following line to /etc/pam.d/sshd.

session    optional     pam_exec.so stdout /usr/bin/gmotd

๐Ÿ“ Configuration

gmotd loads it's configuration from the following locations:

  1. gmotd.yml
  2. ~/.config/gmotd/gmotd.yml
  3. /etc/gmotd/gmotd.yml

First come, first serve.

๐Ÿ“ธ Preview

Preview

๐Ÿฅ‚ Credits

  • yboetz/motd (not sure if you'll notice any similarities tho)

gmotd's People

Contributors

dependabot[bot] avatar jon4hz avatar

Stargazers

 avatar

Watchers

 avatar  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.