Howto to use beempy for posting in Android

Words
627
Reading
3 min
Listen
Play
6y

Please also read my post how to use beempy for posting, in which I have explained how to construct the YAML header for your post. We will use the same header on Android.

How to write a post with a markdown editor and broadcast it under Android?

I wrote this post on Android, to show that this is already possible. It went quite well with the right tools.

  1. You need a good keyboard for typing fast with your thumbs.
  2. You need a powerful markdown editor that compensates for the limited input and display.
  3. You need to run beempy on your phone.

Keyboard for Android

I'm using
Grammarly for writing and hacker keyboard for using beempy in the terminal.

The Grammarly keyboard helps with a smart word prediction
image.

It has also a smart autocorrect function and shows mistakes.
Errors are highlighted and easy to fix.
image

Powerful markdown editor

I only found two good markdown editors: markor and Epsilon notes.

Epsilon notes is clearly the more powerful one, it can be used without paying for the premium version. I have used this one for writing my post.

Epsilon notes has two powerful shortcuts which includes almost everything which is needed.

There is a bar with the most important markdown functions:

image
and a bar with important function as image inserting and table creation
image

When you save your file, there is a nice preview.

image

Inserting images

When you press the image button in bar 2, you can select an image from your gallery and will be asked, if the should copied/moved here.
image

As we want to automatically upload them with beempy, they should be moved/copied to the same directory.

Pasting clipboard

There is a great function to past content that was shared with Epsilon notes

Whenever you press share on your android you can select Epsilon nodes. When you press the document with the plus on bar 2 you can past it:
image

Emoji embedding

Works easy with the Grammarly keyboard. 馃嵒

HTML embedding

center works

pull right works also

YAML header

Yaml header are supported.
The tags are even searchable through all markdown files you have created on your phone.

image

Please read more about YAML header here how to use beempy for posting.

Installing beempy on Android

You need to install termux and termux api.

You should change your keyboard now to the hackers keyboard.

Open the termux app on your phone and enter

pkg install clang openssl python

and

pip install beem

You should also install

pip install cryptography secp256k1prp

for faster signing.
You need also to install the app

pkg install termux-api

and allow termux to access the file system

termux-setup-storage

Create wallet and enter keys

Update the nodelist

beempy updatenodes

create a new wallet

beempy createwallet

and enter/pasting your posting key.

beempy addkey

You can past it by pressing on the terminal and select paste.

image

Wallet location

The wallet is stored inside the protection directory of the terms application. When you have a sufficient recent android, other apps cannot enter this and see the wallet.
image

as you can see here
image

Download all your posts

You can store all your posts as markdown files on your android

cd storage/shared/Docements/
mkdir hive
cd hive
beempy download -a holger80 -s

This is helpful for copying snippets from your old posts.

Broadcast your post

Open termux and go to the directory holding your markdown file.

image

You can find your files at ~/storage/shared/.

Broadcast your post

Check that your markdown contains a YAML with at least one tag, an author and a title.

You can now broadcast your post with

cd storage/shared/Documents
beempy post your_markdown_post.md

Editing your post

When you want to edit your post, you can just open the markdown file, edit it and save it.

Then, go to termux and use beempy post again.

image


If you like what I do, consider casting a vote for me as witness on Hivesigner or on PeakD

Howto to use beempy for posting in Android | Ecency