0.0.5 • Published 3 years ago

neocel v0.0.5

Weekly downloads
6
License
UNLICENSED
Repository
github
Last release
3 years ago

🚧 This project is maintenance mode! 🚧

I will be fixing and responding to pull requests and issues, but it is not in active development.

Neocel

A command-line tool to quickly deploy static sites to Neocities. Free web hosting = stonks!

Quick Start

You'll need Node.js and a Neocities account to get started. You can make an account here if for some reason you don't have one already.

npm install -g neocel

You'll need an API token to use this tool, but luckily there's a bundled tool to generate one. Make sure to use your Neocities username and password, and copy the token when it prints!

neocel token <username> <password>

Now, just deploy a site! You can deploy the current folder with neocel -t <token>.

CLI Options

Here's a delightful table I made of all the flags and what they do. You can also use neocel token <username> <password> to generate an API token.

FlagDescription
--help, -hShow flags and usage information
--version, -vShow the currently installed version
--token, -tSet the Neocities API key
--yes, -yAccept all yes/no prompts
--dir, -dChange the directory to deploy

Keep in mind if you set the NEOCITIES_TOKEN environment variable you won't have to manually set the token! This can also be useful in CI environments.

Why?

Idk dude, people make weird things when they're high tired. I ask you: why not?