Skip to content

hopefulTex/neocitiesCLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neocities-cli

A command line interface for Neocities

Usage

TUI

neocities

CLI

neocities [command] [options]

Commands

push

Uploads files to Neocities.

neocities push [directory]

upload

Uploads files to Neocities.

neocities upload [path/to/first.file, path/to/second.file]

delete

Deletes files from Neocities.

neocities delete [file.txt, file2.txt]

list

Lists files on Neocities.

neocities list [directory]

info

Displays information about a site.

neocities info
neocities info [sitename]

config

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

Configuration

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages