#client #html #web #api-client #cli #api #cli-parser

app rustcities

Neocities client written in Rust, using the Neocities library

1 stable release

new 1.0.3 Apr 26, 2024

#1532 in Command line utilities

Download history 123/week @ 2024-04-22

123 downloads per month

GPL-3.0-or-later

97KB
1.5K SLoC

rustcities

Simple CLI for the neocities API, using this library, and doing "smart" upload deduplication just like the original ruby neocities cli, by checking file hashes.

Why yet another CLI?

There are lots of neocities CLIs around - there's one in Ruby, one in Go, one in bash. Unfortunately, they all have very severe packaging issues - the Go package on the AUR simply doesn't build, the Ruby one may or may not be broken (and it installs out of date packages too), the bash one is written in bash and requires Git or it ends up janky and the interface is kind of unclear.

Rust is a very reliable language for a number of reasons. As such, I'm rewriting things in Rust for the purposes of easing packaging, and providing structured CLI parsing. This is designed for ease of use with my own website.

Dependencies

~8–21MB
~323K SLoC