nci2 is a CLI application and static site generator for creating simple and easy-to-update blogs for neocities.org users. nci2 is an improved version of nci. It was completely rewritten in python. This is the notabug.org mirror from codeberg.org
nokoru 48d0f3084a improve readme file | 4 年之前 | |
---|---|---|
nci2 | 4 年之前 | |
.gitignore | 4 年之前 | |
LICENSE.txt | 4 年之前 | |
README.md | 4 年之前 | |
install | 4 年之前 | |
nci2.png | 4 年之前 | |
setup.py | 4 年之前 |
nci2 is a CLI application and a blog generator/manager for neocities. nci2 is an improved version of the original and simpler nci webscript.
I'm using this blog manager for my blog.
nci2 lets you post, edit and delete blog entries without editing the HTML code of your blog. It makes managing your blog easier and faster.
nci2 is pretty similar to the old webscript, except that now nci is actually installed on your system using pip. The way nci and nci2 work is mainly inspired by the way the VCS git works. You create a specific (local) directory for your website, and then you initialize the nci2 system in it, so you can easily manage your blog from a directory in your computer, and then you upload it to neocities whenever you want to.
There are a lot of blog managers out there I think. Use nci2 if you have a blog on neocities that you need to manage quickly, and if you like the way this software works, of course.
Installing nci2 is relatively easy since most unix-like systems come with python pre-installed, however you should know the dependencies before installing this software.
git clone https://codeberg.org/nokoru/nci2
cd nci2
) and run ./install
.nci about
to check if nci2 was successfully installed.Please install the dependencies. Assuming that only the markdown module is missing, run pip3 install markdown
to install it.
If you can't run the installation script, run chmod +x install
to make the script executable, then run ./install
and there shouldn't be any problems.
If you still can't install nci2, please submit an issue to get help.
I don't know if nci2 may work on Windows. If you can make it work properly on Windows, please tell me and I'll add the steps to install nci2 on Windows. You can also submit a pull request if you want to help documenting the steps to follow.
mkdir my_neocities_blog && cd my_neocities_blog
nci init
For more information about how to use the software, run nci help
or read the wiki.
nci pull
to download your website files from neocities.nci2 is a hobby project made by me (nokoru). I won't be responsible for damages to your website caused by the misuse of this program.
Please donate to neocities if you can. It's a wonderful project. ❤️
Original nci2 by nokoru <nokoru@disroot.org> (chat/xmpp and e-mail)
nci2 is public domain software (license: Unlicense), so do whatever you want with it. Use it and adapt it to your needs. It'd be nice if you shared your modifications with other users, so everyone benefits :3