A fast rust tool to check availability of your entire system in caches. It so to speak "checks the weather" before going to update. Heavily inspired by guix weather.
Find a file
Christina Sørensen e635a18f96
Some checks are pending
Security audit / security_audit (push) Waiting to run
Conventional Commits / Conventional Commits (push) Waiting to run
/ Build Nix targets (push) Waiting to run
Unit tests / unit-tests (macos-latest, 1.70.0) (push) Waiting to run
Unit tests / unit-tests (macos-latest, beta) (push) Waiting to run
Unit tests / unit-tests (macos-latest, nightly) (push) Waiting to run
Unit tests / unit-tests (macos-latest, stable) (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, 1.70.0) (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, beta) (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, nightly) (push) Waiting to run
Unit tests / unit-tests (ubuntu-latest, stable) (push) Waiting to run
Unit tests / unit-tests (windows-latest, 1.70.0) (push) Waiting to run
Unit tests / unit-tests (windows-latest, beta) (push) Waiting to run
Unit tests / unit-tests (windows-latest, nightly) (push) Waiting to run
Unit tests / unit-tests (windows-latest, stable) (push) Waiting to run
fix: RUSTSEC-2024-0332
Signed-off-by: Christina Sørensen <christina@cafkafk.com>
2024-06-21 09:00:59 +02:00
.github chore: initial commit 2024-03-15 09:55:00 +01:00
.reuse chore: initial commit 2024-03-15 09:55:00 +01:00
LICENSES chore: initial commit 2024-03-15 09:55:00 +01:00
man chore: initial commit 2024-03-15 09:55:00 +01:00
src feat: --config flag 2024-03-29 14:47:49 +01:00
.envrc chore: initial commit 2024-03-15 09:55:00 +01:00
.gitignore chore: initial commit 2024-03-15 09:55:00 +01:00
build.rs chore: initial commit 2024-03-15 09:55:00 +01:00
Cargo.lock fix: RUSTSEC-2024-0332 2024-06-21 09:00:59 +02:00
Cargo.toml chore: save work on using async vec 2024-03-18 09:35:21 +01:00
CHANGELOG.md chore: initial commit 2024-03-15 09:55:00 +01:00
cliff.toml chore: initial commit 2024-03-15 09:55:00 +01:00
CODE_OF_CONDUCT.md chore: initial commit 2024-03-15 09:55:00 +01:00
EDITORIAL.md chore: initial commit 2024-03-15 09:55:00 +01:00
flake.lock chore: initial commit 2024-03-15 09:55:00 +01:00
flake.nix fix: changes 2024-03-15 23:50:59 +01:00
Justfile chore: initial commit 2024-03-15 09:55:00 +01:00
LICENSE chore: initial commit 2024-03-15 09:55:00 +01:00
README.md chore: initial commit 2024-03-15 09:55:00 +01:00
rust-toolchain.toml chore: initial commit 2024-03-15 09:55:00 +01:00
stderr.log chore: initial commit 2024-03-15 09:55:00 +01:00
stdout.log chore: initial commit 2024-03-15 09:55:00 +01:00
treefmt.nix chore: initial commit 2024-03-15 09:55:00 +01:00

Fortune Kind

Usage GIF

Built with Nix Contributor Covenant Unit tests Crates.io Crates.io

Note

This software is under active development. It's a great time to contribute!

Try it with Nix ❄️

If you already have Nix setup with flake support, you can try out fortune-kind with the nix run command:

nix run github:cafkafk/fortune-kind

Nix will build fortune-kind and run it.

If you want to pass arguments this way, use e.g. nix run github:cafkafk/fortune-kind -- -s.

Installation

Nix/NixOS ❄️

Imparative Installation

For nix profile users:

nix profile install github:cafkafk/fortune-kind#

Warning

Installing packages imperatively isn't idiomatic Nix, as this can lead to many issues.

Declarative Installation

To add it to your flake.nix:

{
...
    inputs.fortune-kind.url = "github:cafkafk/fortune-kind";
...
}

Then, add it to your systemPackages wherever you prefer:

{ inputs }: {
  environment.systemPackages = [
    inputs.fortune-kind.packages.${pkgs.system}.default
  ];
}
Installing From crates.io

Important Installing from crates.io won't set a FORTUNE_DIR

To install the crate:

cargo install fortune-kind

Motivation

Many distributions have faced challenges with fortune-mod due to concerns about its maintainer and the presence of contentious fortunes in its data files. Instead of trying to replace fortune-mod or recreate a historically accurate fortune program, our goal is to serve those who value handpicked fortunes.

Contributing

We welcome contributions! If you find any issues or have suggestions, please open an issue. If you'd like to contribute directly, feel free to open a pull request.

Fortune Acceptance Process

We manually integrate fortunes from fortune-mod, moving them from the oldtunes directory to the fortunes directory. Each fortune undergoes a rigorous manual verification process. While the selection criteria can be a topic of discussion, the final say rests with cafkafk's judgment.

For more info about contributing and the acceptance policy, please see EDITORIAL.md