Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterhellberg/neocities
A Neocities client written in Go
https://github.com/peterhellberg/neocities
client go neocities neocities-client
Last synced: about 1 month 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-10T17:18:53.000Z (over 5 years ago)
- Last Synced: 2024-06-19T00:37:44.783Z (6 months ago)
- Topics: client, go, neocities, neocities-client
- Language: Go
- Homepage: https://neocities.org
- Size: 52.7 KB
- Stars: 36
- Watchers: 4
- 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.[![Build Status](https://travis-ci.org/peterhellberg/neocities.svg?branch=master)](https://travis-ci.org/peterhellberg/neocities)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/peterhellberg/neocities)
[![License MIT](https://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat)](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.3/neocities-0.0.3-darwin-amd64.zip),
[Linux](https://github.com/peterhellberg/neocities/releases/download/0.0.3/neocities-0.0.3-linux-amd64.zip),
[Windows (32 bit)](https://github.com/peterhellberg/neocities/releases/download/0.0.3/neocities-0.0.3-windows-386.zip) and
[Windows (64 bit)](https://github.com/peterhellberg/neocities/releases/download/0.0.3/neocities-0.0.3-windows-amd64.zip)Or, if you have [Go](http://golang.org/) installed:
go get -u github.com/peterhellberg/neocities
## Usage
[![Cat!](https://neocities.org/img/cat.png)](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 versionHelp for a specific command:
help [command]
```## Donate
[![Support Neocities](https://neocities.org/img/support-us.png)](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-2019 [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.