⚡️ Lightning-fast and minimal calendar command line. Written in Rust 🦀

Overview

⚡️ Lightning-fast and minimal calendar command line. It's similar to cal. Written in Rust 🦀

How Can Install?

$ cargo install rusti-cal

Usage

$ rusti-cal <year>

Hands On

hands-on

Optional Usage

  • Start Week With Sunday (Default)
$ rusti-cal <year> --starting-day 0
  • Start Week With Mondays
$ rusti-cal <year> --starting-day 1
  • Start Week With Tuesday
$ rusti-cal <year> --starting-day 2
  • Start Week With Wednesday
$ rusti-cal <year> --starting-day 3
  • Start Week With Thursday
$ rusti-cal <year> --starting-day 4
  • Start Week With Friday
$ rusti-cal <year> --starting-day 5
  • Start Week With Saturday
$ rusti-cal <year> --starting-day 6
Comments
  • Feature/locale based names

    Feature/locale based names

    Have implemented a couple of features that might be useful.

    • default the year argument to the current year
    • display month and day names in the current locale

    The current locale can be overwritten with the LANG environment variable to display the calendar in another language.

    Example: show calendar for the current year in French:

    $ LANG=fr_FR rusti-cal 
                                  2021
           Janvier               Février                 Mars
     Di Lu Ma Me Je Ve Sa  Di Lu Ma Me Je Ve Sa  Di Lu Ma Me Je Ve Sa
                     1  2      1  2  3  4  5  6      1  2  3  4  5  6
      3  4  5  6  7  8  9   7  8  9 10 11 12 13   7  8  9 10 11 12 13
     10 11 12 13 14 15 16  14 15 16 17 18 19 20  14 15 16 17 18 19 20
     17 18 19 20 21 22 23  21 22 23 24 25 26 27  21 22 23 24 25 26 27
     24 25 26 27 28 29 30  28                    28 29 30 31
     31
            Avril                  Mai                   Juin
     Di Lu Ma Me Je Ve Sa  Di Lu Ma Me Je Ve Sa  Di Lu Ma Me Je Ve Sa
                  1  2  3                     1         1  2  3  4  5
      4  5  6  7  8  9 10   2  3  4  5  6  7  8   6  7  8  9 10 11 12
     11 12 13 14 15 16 17   9 10 11 12 13 14 15  13 14 15 16 17 18 19
     18 19 20 21 22 23 24  16 17 18 19 20 21 22  20 21 22 23 24 25 26
     25 26 27 28 29 30     23 24 25 26 27 28 29  27 28 29 30
                           30 31
           Juillet                 Août               Septembre
     Di Lu Ma Me Je Ve Sa  Di Lu Ma Me Je Ve Sa  Di Lu Ma Me Je Ve Sa
                  1  2  3   1  2  3  4  5  6  7            1  2  3  4
      4  5  6  7  8  9 10   8  9 10 11 12 13 14   5  6  7  8  9 10 11
     11 12 13 14 15 16 17  15 16 17 18 19 20 21  12 13 14 15 16 17 18
     18 19 20 21 22 23 24  22 23 24 25 26 27 28  19 20 21 22 23 24 25
     25 26 27 28 29 30 31  29 30 31              26 27 28 29 30
    
           Octobre               Novembre              Décembre
     Di Lu Ma Me Je Ve Sa  Di Lu Ma Me Je Ve Sa  Di Lu Ma Me Je Ve Sa
                     1  2      1  2  3  4  5  6            1  2  3  4
      3  4  5  6  7  8  9   7  8  9 10 11 12 13   5  6  7  8  9 10 11
     10 11 12 13 14 15 16  14 15 16 17 18 19 20  12 13 14 15 16 17 18
     17 18 19 20 21 22 23  21 22 23 24 25 26 27  19 20 21 22 23 24 25
     24 25 26 27 28 29 30  28 29 30              26 27 28 29 30 31
     31
    
    enhancement 
    opened by zklinger 0
  • Dependency Dashboard

    Dependency Dashboard

    This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

    This repository currently has no open or pending branches.

    Detected dependencies

    cargo
    Cargo.toml
    • argh 0.1.9
    • chrono 0.4
    • locale_config 0.3.0
    • pure-rust-locales 0.5.6
    • ansi_term 0.12.1
    github-actions
    .github/workflows/rust.yml
    • actions/checkout v3

    • [ ] Check this box to trigger a request for Renovate to run again on this repository
    opened by renovate[bot] 0
  • Week numbers

    Week numbers

    Would be pretty neat to have a switch add week numbers. For example:

    ᐅ ncal -w
        October 2022
    Mo     3 10 17 24 31
    Tu     4 11 18 25
    We     5 12 19 26
    Th     6 13 20 27
    Fr     7 14 21 28
    Sa  1  8 15 22 29
    Su  2  9 16 23 30
       39 40 41 42 43 44
    
    opened by theherk 1
  • Releases(v1.0.1)
    • v1.0.1(Dec 15, 2022)

      What's Changed

      • Revert "feat(:nail-care:): dracula-theme" by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/51
      • revert for color blind by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/52

      Full Changelog: https://github.com/arthurhenrique/rusti-cal/compare/v1.0.0...v1.0.1

      Source code(tar.gz)
      Source code(zip)
    • v1.0.0(Dec 12, 2022)

      What's Changed

      • Add NetBSD by @0323pin in https://github.com/arthurhenrique/rusti-cal/pull/39
      • chore: add performance checker by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/42
      • Refactor count_leap_years() and add test cases by @elliotwutingfeng in https://github.com/arthurhenrique/rusti-cal/pull/40
      • Refactor count_leap_years() and add test cases (#40) by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/43
      • Configure Renovate by @renovate in https://github.com/arthurhenrique/rusti-cal/pull/44
      • feat: show today by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/46
      • chore: update by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/47
      • feat(:nail-care:): dracula-theme by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/48
      • chore: release :rocket: by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/49

      New Contributors

      • @0323pin made their first contribution in https://github.com/arthurhenrique/rusti-cal/pull/39
      • @elliotwutingfeng made their first contribution in https://github.com/arthurhenrique/rusti-cal/pull/40
      • @renovate made their first contribution in https://github.com/arthurhenrique/rusti-cal/pull/44

      Full Changelog: https://github.com/arthurhenrique/rusti-cal/compare/v0.4.5...v1.0.0

      Source code(tar.gz)
      Source code(zip)
    • v0.4.5(Sep 9, 2022)

      What's Changed

      • Add optional colored output by @GrumiumXD in https://github.com/arthurhenrique/rusti-cal/pull/37
      • chore(0.4.5): release by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/38

      New Contributors

      • @GrumiumXD made their first contribution in https://github.com/arthurhenrique/rusti-cal/pull/37

      Full Changelog: https://github.com/arthurhenrique/rusti-cal/compare/v0.4.4...v0.4.5

      Source code(tar.gz)
      Source code(zip)
    • v0.4.4(Jun 11, 2022)

      What's Changed

      • Reduce expressions, unnnecessary allocations, and add step to check formatting by @rvarago in https://github.com/arthurhenrique/rusti-cal/pull/26
      • chore: update release 0.4.4 :octocat: by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/27
      • chore: adding tests to circular week name by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/29
      • Fix CI step to check formatting by @rvarago in https://github.com/arthurhenrique/rusti-cal/pull/28
      • chore: fix github actions by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/30
      • feat: adding test by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/31
      • chore: refactor by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/32
      • chore: remove bors by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/33
      • chore: bump pkg versions by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/34
      • chore: bumps by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/35
      • Update rust.yml by @arthurhenrique in https://github.com/arthurhenrique/rusti-cal/pull/36

      New Contributors

      • @rvarago made their first contribution in https://github.com/arthurhenrique/rusti-cal/pull/26

      Full Changelog: https://github.com/arthurhenrique/rusti-cal/compare/v0.4.3...v0.4.4

      Source code(tar.gz)
      Source code(zip)
    • v0.4.3(May 19, 2021)

    Get your loadshedding schedule in your calendar and never be left in the dark! Open-source, up-to-date, and developer friendly.

    Loadshedding schedules in your digital calendar. No apps, no ads, up-to-date, and developer friendly. Get it • Key Features • Using the data • Project

    Boyd Kane 117 Apr 26, 2023
    Small command-line tool to switch monitor inputs from command line

    swmon Small command-line tool to switch monitor inputs from command line Installation git clone https://github.com/cr1901/swmon cargo install --path .

    William D. Jones 5 Aug 20, 2022
    🌳 A lightning-fast system fetch tool made with Rust.

    ?? treefetch A lightning-fast minimalist system fetch tool made in Rust. Even faster than neofetch and pfetch. Made to practice my new Rust skills ??

    Angelo-F 134 Dec 14, 2022
    a command-line tool that transforms a Git repository into a minimal format for ChatGPT queries

    gprepo /dʒiːpiːˈɹi:pi:oʊ/ a command-line tool that transforms a Git repository into a minimal format for ChatGPT queries. Features Excludes LICENSE an

    null 6 Apr 20, 2023
    A lightning fast networking solution for roblox.

    Zap Zap is a blazingly fast networking solution for Roblox. Features Zap packs data into buffers with no overhead. The same data can be sent using a f

    null 18 Dec 31, 2023
    carl is a calendar for the commandline.

    carl is a calendar for the commandline. It tries to mimic the various cal(1) implementations out there, but also adds enhanced features like colors and ical support.

    Birger Schacht 1 Jan 2, 2022
    Linkal - A public-calendar aggregator server

    Linkal Linkal is a public-calendar aggregator server. Given a set a public calendars links, it can make a CalDav client believe all these calendars ar

    Julien Malka 87 Dec 10, 2022
    Xsv - A fast CSV command line toolkit written in Rust.

    xsv is a command line program for indexing, slicing, analyzing, splitting and joining CSV files. Commands should be simple, fast and composable: Simpl

    Andrew Gallant 9.1k Dec 31, 2022
    A blazing fast command line license generator for your open source projects written in Rust🚀

    Overview This is a blazing fast ⚡ , command line license generator for your open source projects written in Rust. I know that GitHub

    Shoubhit Dash 43 Dec 30, 2022
    Core lightning (CLN) plugin to watch channel health, gossip health and ping amboss for online status

    vitality Core lightning (CLN) plugin to watch channel health, gossip health and ping amboss for online status Installation Building Usage Telegram Opt

    null 4 Oct 6, 2023
    Command-line HTTP client for sending a POST request to specified URI on each stdin line.

    line2httppost Simple tool to read lines from stdin and post each line as separate POST request to a specified URL (TCP connection is reused though). G

    Vitaly Shukela 3 Jan 3, 2023
    Core Lightning plugin for sending zap (NIP-57) notes

    Core Lightning plugin for sending zap events You can add the plugin by copying it to CLN's plugin directory or by adding the following line to your co

    null 8 Mar 13, 2023
    A GPT-3 access point through Nostr, powered by lightning

    Geppeto A Nostr based API for GPT-3, powered on Lightning. The bot listens for event kind 29000 (inspired by NIP-9000) and will query the prompt to th

    null 5 May 24, 2023
    Pink is a command-line tool inspired by the Unix man command.

    Pink is a command-line tool inspired by the Unix man command. It displays custom-formatted text pages in the terminal using a subset of HTML-like tags.

    null 3 Nov 2, 2023
    A robust, customizable, blazingly-fast, efficient and easy-to-use command line application to uwu'ify your text!

    uwuifyy A robust, customizable, blazingly-fast, efficient and easy-to-use command line application to uwu'ify your text! Logo Credits: Jade Nelson Tab

    Hamothy 43 Dec 12, 2022
    SKYULL is a command-line interface (CLI) in development that creates REST API project structure templates with the aim of making it easy and fast to start a new project.

    SKYULL is a command-line interface (CLI) in development that creates REST API project structure templates with the aim of making it easy and fast to start a new project. With just a few primary configurations, such as project name, you can get started quickly.

    Gabriel Michaliszen 4 May 9, 2023
    REC2 (Rusty External Command and Control) is client and server tool allowing auditor to execute command from VirusTotal and Mastodon APIs written in Rust. 🦀

    Information: REC2 is an old personal project (early 2023) that I didn't continue development on. It's part of a list of projects that helped me to lea

    Quentin Texier (g0h4n) 104 Oct 7, 2023
    A full featured, fast Command Line Argument Parser for Rust

    clap Command Line Argument Parser for Rust It is a simple-to-use, efficient, and full-featured library for parsing command line arguments and subcomma

    null 10.4k Jan 10, 2023
    A full featured, fast Command Line Argument Parser for Rust

    clap Command Line Argument Parser for Rust It is a simple-to-use, efficient, and full-featured library for parsing command line arguments and subcomma

    Ed Page 0 Jun 16, 2022