1
0
mirror of https://github.com/rhysd/Mstdn.git synced 2025-01-21 20:52:11 +01:00

describe how to write up "accounts" section (#4)

This commit is contained in:
rhysd 2017-04-23 18:03:45 +09:00
parent 64ab056fa9
commit ffdab65515

View File

@ -44,7 +44,8 @@ $ open-mstdn-app
``` ```
At first, a dialog which recommends to write up config is shown and JSON config file will be open in your editor. At first, a dialog which recommends to write up config is shown and JSON config file will be open in your editor.
You need to fill up `"name"` and `"host"` keys in first element of `"accounts"`. You need to fill up `"name"` and `"host"` keys in first element of `"accounts"`. Please see below `accounts` section
to know how to configure the option.
Then please try to start app again. Usage is the same as web client on mobile devices. Then please try to start app again. Usage is the same as web client on mobile devices.
Some shortcuts are available by default (please see below 'Customization' section). Some shortcuts are available by default (please see below 'Customization' section).
@ -101,8 +102,14 @@ Default font size is a bit bigger because the UI is originally for mobile device
### `accounts` ### `accounts`
Array of your accounts. An element should has `"name"`, `"host"` and `"default_page"` keys. Array of your accounts. An element should has `"name"`, `"host"` and `"default_page"` keys.
`"name"` represents your screen name. `"host"` represents a host part of URL of your mastodon instance.
`"default_page"` is a page firstly shown. `"name"` represents your screen name. If your name is `@foo` then please specify `"foo"` for it.
`"host"` represents a host part of URL of your mastodon instance. If you belong to
`https://mastodon.social`, please specify `mastodon.social`. `https://` is not necessary.
`"default_page"` is a path of page firstly shown. If `/web/notifications` is specified,
`https://{your host}/web/notifications` will be open on app starting.
You need to write up this config at first. You need to write up this config at first.