https://github.com/peterhellberg/neocities
A Neocities client written in Go
https://github.com/peterhellberg/neocities
client go neocities neocities-client
Last synced: 10 months ago
JSON representation
A Neocities client written in Go
- Host: GitHub
- URL: https://github.com/peterhellberg/neocities
- Owner: peterhellberg
- License: mit
- Created: 2014-04-11T08:41:50.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-12-04T14:53:32.000Z (about 1 year ago)
- Last Synced: 2025-04-11T06:18:09.123Z (10 months ago)
- Topics: client, go, neocities, neocities-client
- Language: Go
- Homepage: https://neocities.org
- Size: 72.3 KB
- Stars: 38
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A Neocities client written in Go
================================
Upload files to you [Neocities](https://neocities.org/) website from the
comfort of your own terminal.
[](https://github.com/peterhellberg/neocities/actions/workflows/test.yml)
[](https://pkg.go.dev/github.com/peterhellberg/neocities)
[](https://github.com/peterhellberg/neocities#license-mit)
## Installation
You can download precompiled binaries for
[OS X](https://github.com/peterhellberg/neocities/releases/download/0.0.4/neocities-0.0.4-darwin-amd64.zip),
[Linux](https://github.com/peterhellberg/neocities/releases/download/0.0.4/neocities-0.0.4-linux-amd64.zip),
[Windows (32 bit)](https://github.com/peterhellberg/neocities/releases/download/0.0.4/neocities-0.0.4-windows-386.zip) and
[Windows (64 bit)](https://github.com/peterhellberg/neocities/releases/download/0.0.4/neocities-0.0.4-windows-amd64.zip)
Or, if you have [Go](http://golang.org/) installed:
go install github.com/peterhellberg/neocities@latest
## Usage
[](https://neocities.org/)
First you need to set two environment variables:
```bash
export NEOCITIES_USER=
export NEOCITIES_PASS=
```
Alternatively you can use the `NEOCITIES_KEY` variable.
Then you should be able to upload files to your website:
neocities upload foo.html bar.js folder/baz.jpg
You can also delete files:
neocities delete foo.html folder/baz.jpg
You get a list of available commands by default:
```bash
$ neocities
usage: neocities []
Commands:
upload Upload files to Neocities
delete Delete files from Neocities
info Info about Neocities websites
key Neocities API key
list List files on Neocities
version Show neocities client version
Help for a specific command:
help [command]
```
## Donate
[](https://neocities.org/donate)
NeoCities is funded by donations. If you’d like to contribute, you can help to pay for server costs using Bitcoin or PayPal.
## License (MIT)
Copyright (c) 2014-2024 [Peter Hellberg](https://c7.se)
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
> "Software"), to deal in the Software without restriction, including
> without limitation the rights to use, copy, modify, merge, publish,
> distribute, sublicense, and/or sell copies of the Software, and to
> permit persons to whom the Software is furnished to do so, subject to
> the following conditions:
> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.