Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/naoty/cui-aboutme
The hacker's profile downloader
https://github.com/naoty/cui-aboutme
Last synced: 2 months ago
JSON representation
The hacker's profile downloader
- Host: GitHub
- URL: https://github.com/naoty/cui-aboutme
- Owner: naoty
- Created: 2012-07-15T06:33:55.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-17T13:49:18.000Z (almost 12 years ago)
- Last Synced: 2024-04-15T02:57:30.594Z (8 months ago)
- Language: Ruby
- Homepage: http://cui-about.me
- Size: 221 KB
- Stars: 20
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cui-about.me
The hacker's profile downloader for your terminalPrints how to use this service.
```sh
$ curl http://cui-about.me
```Prints names of all users.
```sh
$ curl http://cui-about.me/users
```Prints a user's profile.
```sh
$ curl http://cui-about.me/[username]
```Prints a user's profile like man.
```sh
$ curl http://cui-about.me/[username]/man
```Prints a specific item of a user's profile.
```sh
$ curl http://cui-about.me/[username]/[item]
```Signup you with name, password and any infos. Name and password are required.
```sh
$ curl -X POST -d 'name=[yourname]' -d 'password=[password]' [-d '[field]=[value]'] http://cui-about.me/signup
```Update your profile. Password is required.
```sh
$ curl -X PUT -d 'password=[password]' [-d '[field]=[value]'] http://cui-about.me/[yourname]
```If you want to delete items, update the values of the items into blank.
For example, if you want to delete `foo` item, you will only run a command like this:```sh
$ curl -X PUT -d 'password=[password]' -d 'foo=' http://cui-about.me/[yourname]
```Delete your profile. Password is required.
```sh
$ curl -X DELETE -d 'password=[password]' http://cui-about.me/[yourname]
```