#web #client #html #api-client #file-upload #web-api #api

app rustcities

Neocities client written in Rust, using the Neocities library

1 stable release

1.0.3 Apr 26, 2024

#2664 in Command line utilities

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

~9–21MB
~305K SLoC