A command line interface for Neocities
neocities
neocities [command] [options]
Uploads files to Neocities.
neocities push [directory]
Uploads files to Neocities.
neocities upload [path/to/first.file, path/to/second.file]
Deletes files from Neocities.
neocities delete [file.txt, file2.txt]
Lists files on Neocities.
neocities list [directory]
Displays information about a site.
neocities info
neocities info [sitename]
Set default account, List accounts, Login, and Reset the configuration file.
neocities config set domain example.com
neocities config get domain
neocities config reset
get the path to the configuration file
neocities config path
The configuration file is located at ~/.config/neocities/config.json
.
The configuration file contains the following fields:
api_key
: The API key for the Neocities API.domain
: The domain for the Neocities site.pw
: The password for the Neocities site.
This project is licensed under the MIT License - see the LICENSE file for details.