From dd6259ced0f64431376e7a0f492755d075730d9d Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Mon, 19 Nov 2018 05:57:11 -0800 Subject: [PATCH] Documentation changes * Add link to source * link to express activitypub server * more database information --- README.md | 10 +++++++++- public/convert/index.html | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 569c9ed..bf623d9 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ This is a server that lets users convert any RSS feed to an ActivityPub actor that can be followed by users on ActivityPub-compliant social networks like Mastodon. For a demo of this in action, see https://bots.tinysubversions.com/convert/ +This is based on my [Express ActivityPub Server](https://github.com/dariusk/express-activitypub), a simple Node/Express server that supports a subset of ActivityPub. + ## Requirements This requires Node.js v10.10.0 or above. @@ -52,7 +54,13 @@ Then make sure to manually run `updateFeed.js` when the feed changes. I recommen ## Database -This server uses a SQLite database to keep track of all the data. There are two tables in the database: `accounts` and `feeds`. +This server uses a SQLite database stored in the file `bot-node.db` to keep track of all the data. To connect directly to the database for debugging, from the root directory of the project, run: + +```bash +sqlite3 bot-node.db +``` + +There are two tables in the database: `accounts` and `feeds`. ### `accounts` diff --git a/public/convert/index.html b/public/convert/index.html index 0840b60..0b155f3 100644 --- a/public/convert/index.html +++ b/public/convert/index.html @@ -32,6 +32,7 @@

Convert an RSS feed to ActivityPub

+

by Darius Kazemi, source code here

Put the full RSS feed URL in here, and pick a username for the account that will track the feed.