https://github.com/2kabhishek/goodluck
fortune in Go but luckier 🍀🛎
https://github.com/2kabhishek/goodluck
cli fortune golang toy
Last synced: 7 months ago
JSON representation
fortune in Go but luckier 🍀🛎
- Host: GitHub
- URL: https://github.com/2kabhishek/goodluck
- Owner: 2KAbhishek
- License: gpl-3.0
- Created: 2020-05-31T08:29:27.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-16T07:45:26.000Z (over 2 years ago)
- Last Synced: 2025-01-12T03:27:52.962Z (9 months ago)
- Topics: cli, fortune, golang, toy
- Language: Go
- Homepage: https://2kabhishek.github.io/goodluck
- Size: 25.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Are you lucky today? Run goodluck to find out.
## Prerequisites
Before you begin, ensure you have met the following requirements:
- You have installed the latest version of `go` & `fortune`.
## Installing goodluck
To install goodluck, follow these steps:
```bash
git clone https://github.com/2kabhishek/goodluck
cd goodluck
go build
go install
```## Using goodluck
```bash
USAGE:
goodluck
```You may also have to export your fortune files path as an environment variable.
It can be done like this:```bash
fortune -f # Copy the path in output
export FORTUNE_PATH="/copied/path/"
```