Skip to content

wailo/emacs-poet

Repository files navigation

po.et API client https://travis-ci.com/wailo/emacs-poet.svg?branch=master https://melpa.org/packages/poet-client-badge.svg

This is an Emacs client for po.et. A decentralized protocol for content ownership, discovery and monetization in media. The client allows a user to:

  1. Create and publish work to po.et from Emacs.
  2. List and view published works.

Screenshots

Register a claim poet-create-claim.gif

Retrieve and view claims poet-retrieve-works.gif

Installation

MELPA

In progress.

Manual

Install these required packages:

  • request
  • widget

Then place poet-client.el in your load-path, and add this line in .emacs init file:

(require 'poet-client)

Configuration

This is the only required step. Get an API token by following instructions at https://docs.poetnetwork.net/use-poet/create-your-first-claim.html

Usage

Register a claim:

  1. Activate the buffer that contains the content for publishing.
  2. In Emacs: M-x poet-client-register-claim.
  3. A Form will be displayed and the staged content will be displayed in the bottom half.
  4. Fill the form.
  5. Click on Create claim to publish your work.

Retrieve a claim:

  1. M-x poet-client-retrieve-works
  2. All published works will be displayed in an interactive list.
  3. Move to an item in the list and press Return to view the content.

Tips

  • It is possible make a claim on marked region in buffer. Just mark the region before creating a claim.
  • For convenience, API token and the author name can be stored in Emacs init file, then they will be autofilled in the form. This can be done via the Emacs customization menu or in the claim form which has a remember option next to the fields.

Development

I do welcome bug reports, feature requests, suggestions and pull requests.

About

po.et client for emacs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published