mirror of https://git.sr.ht/~tsileo/microblog.pub
Compare commits
No commits in common. "cad78fe5e85f15de90a9604cc17fbc745e0e983d" and "0f10bfddac893421f16ac0ca038fbba2a8cac8cd" have entirely different histories.
cad78fe5e8
...
0f10bfddac
2
AUTHORS
2
AUTHORS
|
@ -3,9 +3,7 @@ Kevin Wallace <doof@doof.net>
|
||||||
Miguel Jacq <mig@mig5.net>
|
Miguel Jacq <mig@mig5.net>
|
||||||
Alexey Shpakovsky <alexey@shpakovsky.ru>
|
Alexey Shpakovsky <alexey@shpakovsky.ru>
|
||||||
Josh Washburne <josh@jodh.us>
|
Josh Washburne <josh@jodh.us>
|
||||||
João Costa <jdpc557@gmail.com>
|
|
||||||
Sam <samr1.dev@pm.me>
|
Sam <samr1.dev@pm.me>
|
||||||
Ash McAllan <acegiak@gmail.com>
|
Ash McAllan <acegiak@gmail.com>
|
||||||
Cassio Zen <cassio@hey.com>
|
Cassio Zen <cassio@hey.com>
|
||||||
Cocoa <momijizukamori@gmail.com>
|
Cocoa <momijizukamori@gmail.com>
|
||||||
Jane <jane@janeirl.dev>
|
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -41,7 +41,3 @@ check-config:
|
||||||
.PHONY: compile-scss
|
.PHONY: compile-scss
|
||||||
compile-scss:
|
compile-scss:
|
||||||
-docker run --rm --volume `pwd`/data:/app/data --volume `pwd`/app/static:/app/app/static microblogpub/microblogpub inv compile-scss
|
-docker run --rm --volume `pwd`/data:/app/data --volume `pwd`/app/static:/app/app/static microblogpub/microblogpub inv compile-scss
|
||||||
|
|
||||||
.PHONY: import-mastodon-following-accounts
|
|
||||||
import-mastodon-following-accounts:
|
|
||||||
-docker run --rm --volume `pwd`/data:/app/data --volume `pwd`/app/static:/app/app/static microblogpub/microblogpub inv import-mastodon-following-accounts $(path)
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<meta content="article" property="og:type" />
|
<meta content="article" property="og:type" />
|
||||||
<meta content="{{ outbox_object.url }}" property="og:url" />
|
<meta content="{{ outbox_object.url }}" property="og:url" />
|
||||||
<meta content="{{ local_actor.display_name }}'s microblog" property="og:site_name" />
|
<meta content="{{ local_actor.display_name }}'s microblog" property="og:site_name" />
|
||||||
<meta content="{% if outbox_object.name %}{{ outbox_object.name }}{% else %}Note{% endif %}" property="og:title" />
|
<meta content="{% if outbox_object.name %}{{ name }}{% else %}Note{% endif %}" property="og:title" />
|
||||||
<meta content="{{ excerpt }}" property="og:description" />
|
<meta content="{{ excerpt }}" property="og:description" />
|
||||||
<meta content="{{ local_actor.icon_url }}" property="og:image" />
|
<meta content="{{ local_actor.icon_url }}" property="og:image" />
|
||||||
<meta content="summary" property="twitter:card" />
|
<meta content="summary" property="twitter:card" />
|
||||||
|
|
|
@ -344,28 +344,6 @@ also_known_as = "my@old-account.com"
|
||||||
|
|
||||||
Restart the server, and you should be able to complete the move from your existing account.
|
Restart the server, and you should be able to complete the move from your existing account.
|
||||||
|
|
||||||
## Import follows from Mastodon
|
|
||||||
|
|
||||||
You can import the list of follows/following accounts from Mastodon.
|
|
||||||
|
|
||||||
It requires downloading the "Follows" CSV file from your Mastodon instance via "Settings" / "Import and export" / "Data export".
|
|
||||||
|
|
||||||
Then you need to run the import task:
|
|
||||||
|
|
||||||
### Python edition
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# For a Python install
|
|
||||||
poetry run inv import-mastodon-following-accounts following_accounts.csv
|
|
||||||
```
|
|
||||||
|
|
||||||
### Docker edition
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# For a Docker install
|
|
||||||
make path=following_accounts.csv import-mastodon-following-accounts
|
|
||||||
```
|
|
||||||
|
|
||||||
## Tasks
|
## Tasks
|
||||||
|
|
||||||
### Configuration checking
|
### Configuration checking
|
||||||
|
|
Loading…
Reference in New Issue