While there are several Neocities command line programs and libraries out there, I wanted one that would be able to support users who were Neocities supporters and had multiple websites available.
Some recommendations:
- Use this command line utility alongside whichever shell scripting language is your favorite to encase calls to the CLI in easy-to-call keywords
- If you're a Windows user and need a shell scripting language, try out PowerShell!
- While
username:password@neocities.org/apiauthentication method is supported, I personally prefer the API key method of authentication since it has a far lower chance of being a credential associated with something other than Neocities, and an API key is easier to change if your key is somehow compromised
Neocities.NET was made using .NET Core 3.1 and Visual Studio 2019, so ensure you have the most recent .NET Core SDK installed as well as VS 2019
- Clone this repository, i.e.,
git clone https://github.com/jmarkman/Neocities.NET.git - Build with the Release configuration in VS 2019 or navigate to the project directory from the command line and type
dotnet build --configuration Release - Copy the contents of the
./Neocities.NET/bin/Releasefolder to a reasonable location on your computer - Add the NeocitiesNet executable to your PATH variable
- Download the release
- Extract the contents to a reasonable location on your computer
- Add the NeocitiesNet executable to your PATH variable
neocitiesnet --help
neocitiesnet account --addkey [Username/Website Name]:[API key]
neocitiesnet get --allfiles
neocitiesnet get --mysitedata
Please consult the wiki for more in-depth information about using this tool.
Please consult the Contributing page on the wiki.