TUI version of the game Soletra/Spelling Bee
  • Rust 87.1%
  • Nix 12.9%
Find a file
2026-04-22 19:22:50 -03:00
locales Finish runtime-loading refactor 2026-04-21 08:25:43 -03:00
npins Finish runtime-loading refactor 2026-04-21 08:25:43 -03:00
src Create temporary file in the app directory 2026-04-22 19:22:50 -03:00
.envrc Initial commit 2026-03-31 19:07:17 -03:00
.gitignore Begin Rust code 2026-03-31 19:07:31 -03:00
Cargo.lock Create temporary file in the app directory 2026-04-22 19:22:50 -03:00
Cargo.toml Create temporary file in the app directory 2026-04-22 19:22:50 -03:00
CHANGELOG.md Create temporary file in the app directory 2026-04-22 19:22:50 -03:00
default.nix Finish runtime-loading refactor 2026-04-21 08:25:43 -03:00
flake.lock Prepare for public release 2026-04-14 18:13:31 -03:00
flake.nix Throbber when loading and don't save partial files 2026-04-22 10:30:51 -03:00
LICENSE Prepare for public release 2026-04-14 18:13:31 -03:00
README.md Create temporary file in the app directory 2026-04-22 19:22:50 -03:00
shell.nix Finish runtime-loading refactor 2026-04-21 08:25:43 -03:00

soletra-rs

TUI version of the game Soletra/Spelling Bee. Currently playable in:

  • Portuguese
  • English

Requisites

  • A terminal with a NerdFont.

Controls

Language selection screen:

  • Ctrl+C: Quit
  • Left/Right arrow: Change language
  • Enter: Select language

Game screen:

  • Ctrl+C: Quit
  • Ctrl+L: Return to language selection
  • Left/Right arrow: Scroll through guesses
  • [: Previous game
  • ]: Next game
  • Character keys: Type guess
  • Enter: Submit guess
  • Backspace: Erase last character from guess

Installation

Cargo

cargo install --locked soletra-rs

Nix flakes

{
  inputs = {
    # ...
    soletra-rs.url = "git+https://git.eric.dev.br/EpicEric/soletra-rs.git?ref=main";
  };

  outputs =
    { nixpkgs, soletra-rs, ... }:
    {
      nixosConfigurations.your-hostname = nixpkgs.lib.nixosSystem {
        # ...
        modules = [
          # ...
          ({ pkgs, ... }: {
            environment.systemPackages = [
              soletra-rs.packages.${pkgs.stdenv.hostPlatform.system}.pt
            ];
          })
        ];
      };
      # ...
    }
}

npins

npins add git --forge forgejo --name soletra-rs --branch main https://git.eric.dev.br/EpicEric/soletra-rs.git
let
  sources = import ./npins;
in
{
  environment.systemPackages = [
    # ...
    (import sources.soletra-rs { })
  ];
}