Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rknightuk/omglolcli

omg, lol. a cli for omg.lol
https://github.com/rknightuk/omglolcli

cli now omgdotlol

Last synced: about 2 months ago
JSON representation

omg, lol. a cli for omg.lol

Awesome Lists containing this project

README

        

# omglolapi

An [omg.lol](https://home.omg.lol/referred-by/robb) CLI.

![screenshot](screenshot.png)

ASCII Prami hand crafted by [Sara](https://sarajoy.dev/#sara)

## Installation

- Clone this repository `git clone https://github.com/rknightuk/omglolcli.git`
- `cd omglolapi`
- Install the dependencies `npm i`
- Install globally `npm i -g`
- Run `omg init USERNAME APIKEY` first. Get your API from [https://home.omg.lol/account](https://home.omg.lol/account).

## Usage

The CLI currently supports the following:

```txt
init

Set your address and api key
whoami Check your settings for the CLI
stats Get count of members and addresses
open [options]
Open a page for an address (default: omg.lol)
status Interact with the statuslog
list [options] List statuses from the status log
new Post a new status
delete Delete a status
address Check and fetch address info
list Show the address directory
lookup
Lookup info about an address
purl Manage PURLs
list [options] List PURLs
new [options] Create a new PURL
delete Delete an existing PURL
paste Manage pastes
list [options] List pastes
new [options] Create a new paste
copy Copy the contents of a paste
delete Delete an existing paste
dns Manage DNS records
list List your DNS records
```

## Misc

- Using undocumented `listed` attribute on create PURL
- Using undocumented `listed` attribute on create pastes
- Using undocumented `delete` for statuses