mirror of
https://github.com/g3rv4/GetMoarFediverse.git
synced 2024-11-07 08:14:04 +01:00
Update README and add LICENSE (#8)
This commit is contained in:
parent
875b2fe26e
commit
a88e9f9fd5
21
LICENSE.md
Normal file
21
LICENSE.md
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2022 Gervasio Marchand
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
22
README.md
22
README.md
@ -14,10 +14,7 @@ You can download an executable for your environment [on the releases page](https
|
||||
{
|
||||
"FakeRelayUrl": "https://fakerelay.gervas.io",
|
||||
"FakeRelayApiKey": "1TxL6m1Esx6tnv4EPxscvAmdQN7qSn0nKeyoM7LD8b9mz+GNfrKaHiWgiT3QcNMUA+dWLyWD8qyl1MuKJ+4uHA==",
|
||||
"Tags": [
|
||||
"dotnet",
|
||||
"csharp"
|
||||
],
|
||||
"Tags": [ "dotnet", "csharp" ],
|
||||
"Instances": [ "hachyderm.io", "mastodon.social" ]
|
||||
}
|
||||
```
|
||||
@ -30,6 +27,23 @@ Once you have that file, all you need to run is `./GetMoarFediverse /path/to/con
|
||||
|
||||
You will find an executable for Windows as well, which you can use on a scheduled task.
|
||||
|
||||
### Have it download all the followed hashtags of your instance
|
||||
|
||||
The previous approach works, but you need to hardcode the list of tags. That's not awesome, as you need to keep track of the hashtags you (and your other users follow).
|
||||
|
||||
You can pass `MastodonPostgresConnectionString` with a connection string to your postgres database and GetMoarFediverse will download content for all the hashtags the users on your server follow. Here's an example:
|
||||
|
||||
```
|
||||
{
|
||||
"FakeRelayUrl": "https://fakerelay.gervas.io",
|
||||
"FakeRelayApiKey": "1TxL6m1Esx6tnv4EPxscvAmdQN7qSn0nKeyoM7LD8b9m+GNfrKaHiWgiT3QcNMUA+dWLyWD8qyl1MuKJ+4uHA==",
|
||||
"MastodonPostgresConnectionString": "Host=myserver;Username=mastodon_read;Password=password;Database=mastodon_production",
|
||||
"Instances": [ "hachyderm.io", "mastodon.social" ]
|
||||
}
|
||||
```
|
||||
|
||||
I wrote a quick article [here](https://g3rv4.com/2022/12/getmoarfediverse-on-multi-user-instances) about it, with instructions to create a read only user.
|
||||
|
||||
### You can run it on docker
|
||||
|
||||
If that's what you like, you can check out [this document](docs/docker.md) with instructions.
|
||||
|
Loading…
Reference in New Issue
Block a user