Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

activitypub-proxy

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

activitypub-proxy - npm Package Compare versions

Comparing version
0.2.2
to
0.2.3
+8
-2
package.json
{
"name": "activitypub-proxy",
"version": "0.2.2",
"keywords": ["activitypub","mastodon","misskey","pleroma","fediblock"],
"version": "0.2.3",
"keywords": [
"activitypub",
"mastodon",
"misskey",
"pleroma",
"fediblock"
],
"homepage": "https://activitypub-proxy.cf",

@@ -6,0 +12,0 @@ "bugs": "https://gitea.moe/lamp/activitypub-proxy/issues",

+2
-4

@@ -11,5 +11,3 @@ # ActivityPub Proxy

With that said, this initial implementation is more of an experimental proof-of-concept of what can be done with so little code, but to implement this concept properly, it probably needs to be rewritten with a deeper, stricter integration into the ActivityPub protocol. Access controls need to be more flexible and reliable, and a solution needs to be found for the boosting issue.
## Installation

@@ -23,4 +21,4 @@

- `BIND_IP`: The IP address to bind to. Default: all.
- `DOMAIN_WHITELIST`: Comma-separated list of domains that can use the proxy. Recommended to use this to prevent abuse as otherwise anyone can proxy anything. Remember to include the domains you want to follow from as well as the domains you want to follow, as it needs to work both ways.
- `USER_WHITELIST`: Comma-separated list of names that can be looked up. Maybe useful if you don't want other users messing with other users... 🤷 Note that this only restricts the webfinger. (todo could be circumvented? 🤔) Default: any
- `DOMAIN_WHITELIST`: Comma-separated list of domains that can be proxied. Recommended to use this to prevent abuse as otherwise anyone can proxy anything. Remember to include the domains you want to follow from as well as the domains you want to follow, as it needs to work both ways. Default: any
- `USER_WHITELIST`: Comma-separated list of usernames that can be proxied (case-sensitive, name only without `@`). Default: any
- `NODE_ENV`: Set to `development` to see debug logs.

@@ -27,0 +25,0 @@