Skip to content

A command-line utility for looking up vehicle license plates in Europe, written in rust ๐Ÿฆ€

License

Notifications You must be signed in to change notification settings

jackbillstrom/regno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

regno - Search for license plates instantly in your terminal

regno is an application for looking up vehicle registration numbers and car information.

  • ๐Ÿ‡ธ๐Ÿ‡ช Supports Swedish Plates
  • ๐Ÿ‡ณ๐Ÿ‡ด Supports Norwegian Plates
  • ๐Ÿ‡ฎ๐Ÿ‡ช Supports Irish Plates
  • More countries to come!

A screenshot showing the application in use

Hint: This project is still in development and was created as my learning experience for Rust. E.g., it lacks moderate error-handling for now.

Features

  • types.rs: Contains the types used for describing car information.
  • biluppgifter.rs: Performs operations for fetching and processing Swedish car information. ๐Ÿ‡ธ๐Ÿ‡ช
  • ncts.rs: Performs operations for fetching and processing Irish car information. ๐Ÿ‡ฎ๐Ÿ‡ช
  • regnr.rs: Performs operations for fetching and processing Norwegian car information. ๐Ÿ‡ณ๐Ÿ‡ด
  • main.rs: The main program where everything runs.
  • utils.rs: Helper functions and utilities used throughout the project.

Project Structure

regno
โ”œโ”€โ”€ src
โ”‚ โ”œโ”€โ”€ biluppgifter.rs // Handles Swedish car information ๐Ÿ‡ธ๐Ÿ‡ช
โ”‚ โ”œโ”€โ”€ ncts.rs // Handles Irish car information ๐Ÿ‡ฎ๐Ÿ‡ช
โ”‚ โ”œโ”€โ”€ types.rs // Types used for describing car information
| โ”œโ”€โ”€ regnr.rs // Handles Norwegian car information ๐Ÿ‡ณ๐Ÿ‡ด
โ”‚ โ”œโ”€โ”€ main.rs // Main program
โ”‚ โ””โ”€โ”€ utils.rs // Utility functions
โ””โ”€โ”€ README.md

Prerequisites

  • Rust 1.52 or higher

Installation

  1. Clone this repository:

    git clone https://github.com/jackbillstrom/regno.git
    
  2. Build the project:

    cd regno
    cargo build

Usage

Run the program with:

cargo run -- ced267
./regno ced267

Contributing

If you'd like to contribute, please create a Pull Request.

License

This project is licensed under the MIT License.

About

A command-line utility for looking up vehicle license plates in Europe, written in rust ๐Ÿฆ€

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages