Skip to content

aldrio/library-of-babel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Library of Babel

A Rust implementation of The Library of Babel.

Usage

Pages are identified in the library by the wall, shelf, volume, page number in base10, and room address in base64 seperated by colons.

wall:shelf:volume:page:hex_address

Explore the Library using the search and read commands.

Search

Search for strings keeping in mind that the query must be all lowercase a-z, comma, period, or space.

babel search "hello world"
# Or if running straight from cargo:
cargo run -- search "hello world"

Read

Pass in a library location with the format wall:shelf:volume:page:hex_address to the read subcommand.

babel read 2:4:18:310:W3IRDhEX_n4me
# Cargo:
cargo run -- read 2:4:18:310:W3IRDhEX_n4me

About

The Library of Babel in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages