[Media] I made a Rust CLI game that tests how fast you can guess the language of a code block!

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/rust

Our great sponsors
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Scout APM - Truly a developer’s best friend
  • Zigi - Close all those tabs. Zigi will handle your updates.
  • guess-that-lang

    CLI game to see how fast you can guess the language of a code block!

    Hi! Thanks for trying out my game, sorry you ran into a problem :(. Could you create a github issue and include what you're running the CLI on?

  • starship

    ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!

    I use starship. It's incredibly good looking haha

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • confy

    🛋 Zero-boilerplate configuration management in Rust

    I use confy for persisted data (just the token and high score for now) because I don't know the best practices for where to put those kinds of files, which stores it as TOML.

  • syntect

    Rust library for syntax highlighting using Sublime Text syntax definitions.

    I love that idea! I think there might be a better way than just hardcoding all the comment types for all the languages, though. I'm using the syntect library which will parse the code based on syntax files, so I opened an issue there to see if they have anything that could help.

  • crossterm

    Cross platform terminal library rust

    I used crossterm. Really love the simplicity of the API, definitely fit my purposes well.

  • hub

    A command-line tool that makes git easier to use with GitHub.

    parse_git_branch() { # Speed up opening up a new terminal tab by not # checking `$HOME` ...which can't be a repo anyway # # For the heck of it, micro-optimize this too: # time (repeat 1000000 { [ "$PWD" = "$HOME" ] } ) == ~4.2s # time (repeat 1000000 { [[ "$PWD" == "$HOME" ]] } ) == ~1.4s [[ "$PWD" == "$HOME" ]] && return # Fastest known way to check the current branch name # (Uses `command` to bypass wrappers like https://hub.github.com/) ref="$(command git symbolic-ref --short HEAD 2> /dev/null)" || return echo " [$ref]" }

  • rust-build.action

    Automate publishing Rust build artifacts for GitHub releases through GitHub Actions

    Thank you so much for playing!! Really makes me happy to hear that <3. I'm aware of the binaries problem- I'm using a github action to create them on release, but it's using rust v1.60 even when I set it to use v1.63, so they haven't been building successfully. I submitted an issue here, feel free to take a look if you get the chance, I could use a second pair of eyes haha.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • language-guesser

    Nice game, I built something similar my self: https://github.com/ModProg/language-guesser, but I actually think your UI is nicer, like I just droped the code in unhighlighted and everything, and you even have the preview with dots.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts