/mastomarkov

Primary LanguageErlangApache License 2.0Apache-2.0

mastomarkov

An OTP application

Build

$ rebar3 compile

mastodon-markov

https://docs.joinmastodon.org/spec/oauth/

https://github.com/kivra/oauth2

https://github.com/erlangpack/erlang-oauth

https://medium.com/erlang-central/building-your-first-erlang-app-using-rebar3-25f40b109aad

sudo apt-get install libncurses5-dev libncursesw5-dev

wget https://erlang.org/download/otp_src_R16B03-1.tar.gz
tar xvfz https://erlang.org/download/otp_src_R16B03-1.tar.gz
cd otp_src_R16B03-1

./configure && make && make install
kerl build 25.2

. /home/sig/kerl/25.2/activate
kerl_deactivate

rebar3 new app mastomarkov
cd mastomarkov
rebar3 compile

rebar3 hex user auth

rebar3 compile
rebar3 shell
application:start(myapp).
application:stop(myapp).

TODO

  • read the latest post from a specific account, post it back in a new post
  • markov