https://github.com/weakish/ceylon-zhihu
A ceylon client to zhihu.com API.
https://github.com/weakish/ceylon-zhihu
Last synced: 4 months ago
JSON representation
A ceylon client to zhihu.com API.
- Host: GitHub
- URL: https://github.com/weakish/ceylon-zhihu
- Owner: weakish
- License: other
- Created: 2016-09-15T14:26:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-06T11:40:35.000Z (over 8 years ago)
- Last Synced: 2025-08-21T05:55:30.908Z (10 months ago)
- Language: Ceylon
- Homepage:
- Size: 54.3 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
A ceylon client to zhihu.com API.
Currently it supports readonly APIs of zhuanlan.zhihu.com.
Usage
-----
See
Install
-------
### Dependencies
- Java 7+
- wget
### As a library
#### With Java
Download the jar file at [Releases] page and put it in `classpath`.
[Releases]: https://github.com/weakish/ceylon-zhihu/releases
#### With Ceylon
Download the car file at [Releases] page and put it in ceylon module repository.
### As a command line tool
Download the jar file at [Releases] page and rename it to `zhihu.jar`
or anything you like.
Development
-----------
You need Ceylon, unless you want to mess up with decompiled Java code.
If you need to modify the source, clone this repository with git.
If you do not want to use git,
download the tarball, zip or car file at [Releases].
### Makefile
There is a `Makefile` in the repository, compatible with both BSD and GNU `make`.
#### Test
```sh
make test
```
#### Compile
```
make build
```
#### Package
Packages to a fat jar (requires `ceylon` 1.2.3 snapshot)
```sh
make jar
```
### Contribute
See `CONTRIBUTING.md` in the repository.
License
-------
0BSD
Todo
----
### Content Image named with full path
e.g. `hosts_dir_filename.png`.
`wget` seems have option for this.
### Incremental backup.
e.g. Etag