mirror of
https://github.com/dariusk/rss-to-activitypub.git
synced 2024-12-22 21:53:32 +02:00
Documentation changes
* Add link to source * link to express activitypub server * more database information
This commit is contained in:
parent
cf8b1721d9
commit
dd6259ced0
2 changed files with 10 additions and 1 deletions
10
README.md
10
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`
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
</head>
|
||||
<body>
|
||||
<h1>Convert an RSS feed to ActivityPub</h1>
|
||||
<p><em>by <a href="https://friend.camp/@darius">Darius Kazemi</a>, <a href="https://github.com/dariusk/rss-to-activitypub">source code here</a></em></p>
|
||||
<p>Put the full RSS feed URL in here, and pick a username for the account that will track the feed.</p>
|
||||
<p>
|
||||
<input id="feed" type="text" placeholder="https://example.com/feed.xml"/>
|
||||
|
|
Loading…
Reference in a new issue