1.0.10 • Published 8 months ago
neocities-publish v1.0.10
Neocities Publish
A small CLI tool to publish a directory to Neocities.
Installation
npm i neocities-publish --global
Usage
This will prompt you for your Neocities username and password, and then publish the contents of the current directory to Neocities.
npx ncp
.ncignore
You can create a .ncignore
file in the root of your project to specify files and directories to ignore when publishing to Neocities. This file uses the same syntax as .gitignore
.
A .ncignore file will never be published to Neocities when using this tool.
Example
# Ignore all files in the 'secret' folder
/secret/
# Ignore 'secret.txt' in any directory
secret.txt
# Ignore any .webp file in the 'static' directory.
/static/*.webp