Bonk - The blazingly fast touch alternative written in rust

Overview

Contributors Forks Stargazers Crates.io Issues MIT License


Logo

Bonk

The blazingly fast touch alternative written in rust. Made for the sole purpose to create files.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License

About The Project

Product Name Screen Shot

There are many ways to create a file via cli depending on the OS you are on but me currently being on windows, though some command are aliased they don't feel natural (New-Item instead of touch) and I miss using some of the unix commands that I am so used to. Thats how bonk came to be.

Here's why:

  • Works on all OS'
  • Can Also create directories recursively
  • Why not?

(back to top)

Getting Started

Installation

Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.

  1. Clone the repo
    git clone https://github.com/elliot40404/bonk.git
  2. Build and Install the rust binary
    cd bonk
    cargo install --path .

or

cargo install bonky

Note: name of the executable is bonk though the crate is named bonky.

sudo curl -L https://github.com/elliot40404/bonk/releases/latest/download/bonk_linux_x64 -o /usr/local/bin/bonk && sudo chmod +x /usr/local/bin/bonk

Download the binary from the releases page here

(back to top)

Usage

Print Help

bonk -h
bonk --help

Create a file

bonk main.rs

Create a directory

bonk src/

Create a nested file

bonk src/main.rs

Create nested directories

bonk src/bonky/

Create nested file inside nested directories

bonk src/bonky/mod.rs

(back to top)

Roadmap

  • Handle Non-UTF8 files/folders
  • Add timestamp modification functionality

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

You might also like...
A blazingly fast & lightweight Obsidian CLI ⚡️
A blazingly fast & lightweight Obsidian CLI ⚡️

obs - the Obsidian CLI ⚡️ Connecting your second brain to the termainl - blazing fast ⚡️ Note 🚧 obs is under active development and currently only su

Blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes.
Blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes.

lutgen-rs A blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes. Theme any image to your dekstop colorsc

Get your github contributions right in your terminal, blazingly fast!
Get your github contributions right in your terminal, blazingly fast!

GitColorScripts Get your github contributions right in your terminal! Installation Install via yay yay -S gitcolorscripts Install manually Download t

This is choose, a human-friendly and fast alternative to cut and (sometimes) awk
This is choose, a human-friendly and fast alternative to cut and (sometimes) awk

Choose This is choose, a human-friendly and fast alternative to cut and (sometimes) awk Features terse field selection syntax similar to Python's list

fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find
fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find

fd is a program to find entries in your filesystem. It is a simple, fast and user-friendly alternative to find. While it does not aim to support all of find's powerful functionality, it provides sensible (opinionated) defaults for a majority of use cases.

⚡ A Blazing fast alternative to the stock windows folder delete function!
⚡ A Blazing fast alternative to the stock windows folder delete function!

Turbo Delete A blazing fast alternative to the default Windows delete. Turbodelete is a blazing fast alternative to the default Windows delete functio

Faster and better alternative to Vtop written in Rust.
Faster and better alternative to Vtop written in Rust.

Rtop Faster and better alternative to Vtop written in Rust. Work in Progress Features Lightweight 1MB Responsive UI Sort Process by Memory, CPU Usag

Terminal command correction, alternative to thefuck written in Rust
Terminal command correction, alternative to thefuck written in Rust

Pay Respects Typed a wrong command? Pay Respects will try to correct your wrong console command by simply pressing F! 🚀 Blazing fast suggestion: You

Blazingly Rapid Uncompressed Harebrained Image File Format.
Blazingly Rapid Uncompressed Harebrained Image File Format.

BRUHIFF Blazingly rapid uncompressed harebrained Image File Format. Also known as BRUHIFF or BRUH. How to Download the repo / git clone it. Open a com

Comments
  • URGENT: bonk will delete file contents

    URGENT: bonk will delete file contents

    Running bonk on an existing file will delete its contents.

    $ echo hello >/tmp/hello.txt
    $ cat /tmp/hello.txt
    hello
    $ cargo run /tmp/hello.txt
    $ cat /tmp/hello.txt
    $
    

    Please see http://github.com/BartMassey/touche for a touch-like inspired by bonk that avoids this sort of problem.

    opened by BartMassey 1
  • Removes Vec allocation

    Removes Vec allocation

    It looks like you are allocating a Vec and then immediately turning it back into an iterator, you can skip the allocation and just use the env::args iterator directly

    opened by pwoolcoc 1
  • SCoop-pacakge ! request

    SCoop-pacakge ! request

    i liked how bonk is so useful . and make work so eaasy

    it would be good if u add scoop-manifest for window user scoop.sh is a package -manager for window 🥺

    please make it avaible there

    opened by omaru-ok 2
Releases(v0.3.2)
Owner
Elliot
ITS JUST GETTING STARTED
Elliot
Touch support for SDFE(Wacca).

Toucca Touch support for WACCA(SDFE). English | 简体中文 Setup Assuming you already have the game process running and working keyboard input (Being able t

Nyuan Zhang 4 Dec 5, 2023
🚀 A blazingly fast easy to use dotfile and global theme manager written in Rust

GTHEME A blazingly fast easy to use dotfile and global theme manager for *NIX systems written in Rust ?? Demo using wip desktop. To check out more des

David Rodriguez 19 Nov 28, 2022
A CLI calculator written in Rust that isn't blazingly fast.

Calcamabob A command line calculator Is written in Rust Is not blazing fast, and could be faster. Calcamabob can interpret operator precedence. For ex

Casey Kneale 4 Oct 24, 2022
Warp is a blazingly fast, Rust-based terminal that makes you and your team more productive at running, debugging, and deploying code and infrastructure.

Warp is a blazingly fast, Rust-based terminal that makes you and your team more productive at running, debugging, and deploying code and infrastructure.

Warp 10.4k Jan 4, 2023
A blazingly fast Insertion Sort and Quick Sort visualizer built with Rust and WASM.

sortysort A blazingly fast Insertion Sort and Quick Sort visualizer built with Rust and WASM. Try it in your browser from here Testing locally cargo r

null 3 Jan 28, 2022
Blazingly fast Rust CLI app to sync data from a folder of excel workbooks into generated c# code for unity usage

Extensions supported ( .xls, .xlsx, .xlsm, .xlsb, .xla, .xlam, .ods ) Speed Test Image shows the results of 5000defs synced from 2 workbooks and 5 she

null 4 Feb 16, 2023
A comprehensive collection of resources and learning materials for Rust programming, empowering developers to explore and master the modern, safe, and blazingly fast language.

?? Awesome Rust Lang ⛰️ Project Description : Welcome to the Awesome Rust Lang repository! This is a comprehensive collection of resources for Rust, a

Shubham Raj 16 May 29, 2023
A blazingly fast command-line tool for converting Chinese punctuations to English punctuations

A blazingly fast command-line tool for converting Chinese punctuations to English punctuations

Hogan Lee 9 Dec 23, 2022
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
Print your git contributions in your terminal, blazingly fast

Takoyaki Blazingly fast git contribution graph in your terminal Features ✔️ Customizable ✔️ Plugins to support a bunch of cloud based git repositories

kyeboard 13 Feb 6, 2023