This commit is contained in:
		| @@ -18,3 +18,9 @@ echo $uri | ||||
| ```sh | ||||
| $ git clone https://github.com/bluesky-social/feed-generator | ||||
| ``` | ||||
|  | ||||
| ```sh | ||||
| docker compose build feed-generator | ||||
| docker build -t publish_feed -f Dockerfile . | ||||
| docker run publish_feed | ||||
| ``` | ||||
|   | ||||
| @@ -20,8 +20,8 @@ export class FirehoseSubscription extends FirehoseSubscriptionBase { | ||||
|     const postsToCreate = ops.posts.creates | ||||
|       .filter((create) => { | ||||
|         // only alf-related posts | ||||
| 	return create.record.text.match('^/[a-z]') || create.record.text.match('^@ai'); | ||||
|         //return create.record.text.toLowerCase().includes('alf') | ||||
| 							return create.record.text.match('^/[a-z]') || create.record.text.match('^@ai '); | ||||
| 							//return create.record.text.toLowerCase().includes('alf') | ||||
|       }) | ||||
|       .map((create) => { | ||||
|         // map alf-related posts to a db row | ||||
|   | ||||
		Reference in New Issue
	
	Block a user