#fetching #api #few #brainfuck #command #deriviation #brainfetch

brainfetch_lib

A library for my Brainfuck deriviation with support for fetching from apis with a few other helper commands

2 unstable releases

0.2.0 Feb 22, 2025
0.1.1 Feb 22, 2025
0.1.0 Feb 22, 2025

#2 in #few

Download history 333/week @ 2025-02-22 53/week @ 2025-03-01

386 downloads per month

MIT license

15KB
137 lines

Brainfetch

Brainfetch is a fun little Brainfuck-like library written in Rust with support for API fetching and a few other features that help with handling changing apis.

Installation

You can install from this repository by cloning the repo and building with cargo build. Alternatively, you can use this library by adding brainfetch_lib to your Cargo.toml.

Usage

import foobar

# returns 'words'
foobar.pluralize('word')

# returns 'geese'
foobar.pluralize('goose')

# returns 'phenomenon'
foobar.singularize('phenomena')

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Dependencies

~6–17MB
~226K SLoC