ASSA lets you get timeline digests and have conversations with people on X (formerly Twitter)via rich UI components. Built for Goose and other MCP-compatible AI agents.
What is ASSA?
ASSA reclaims your social life by moving your activity off of algorithm driven sites and apps and into your personal agent, where you control the flow and decide how to engage. Enjoy:
- Digest tell you what's happening without opening any social app. Let your agent filter spam, ads, and hate speech!
- Have conversations right in your agent's interface, no need to open the X app or site.
Features
- ๐ Safe authorization via Arcade: Access you social accounts with sharing your password with an agent (or accidentally committing it, oops!)
- ๐ Interactive interface: Mentions displayed with avatars, text. Respond right there!
- ๐ You're in control: Nothing posts without your explicit approval
Installation
Prerequisites
- Goose (or another MCP-compatible agent)
- Arcade.dev API key
Setup
-
Get your Arcade API key at arcade.dev
-
Clone and install:
git clone https://github.com/nearestnabors/assa cd assa bun install bun run build -
Add to Goose App (recommendedโGoose CLI can't display interactive UI!)
- In Goose's sidebar, go to Extensiions
- Select "+ Add Custom Extension"
- Add the command:
node PATH TO ASSA FOLDER/dist/index.js - Add Environment variables
ARCADE_USER_ID(the email you signed up to Arcade with) andARCADE_API_KEY(get your Arcade API key here - Select "Add Extension"
How to use
Check X Activity
Check my X mentions from the last 24 hours
Get Timeline Digest
Show me a digest of my X timeline from the past 24 hours
Note: Timeline digest requires Chrome running with remote debugging. See Timeline Digest Setup below.
Post a Tweet
Post a tweet: "Just shipped a new feature! ๐"
Reply to Someone
Reply to @anthropic_devs saying I'll share slides after the talk
Timeline Digest Setup
The timeline digest feature accesses your "Following" timeline using your existing browser session and Playwright. This is free (no API costs) and uses your logged-in state. (An API would be more robust, but X only makes timeline API functionality available to industrial developers who can afford extortionate fees. So here we are, as hobbyists.)
Prerequisites
- Google Chrome installed
- Logged into X in Chrome
Start Chrome with Remote Debugging
Before using timeline digest, start Chrome with the remote debugging port:
Mac:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222
Windows:
"C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222
Linux:
google-chrome --remote-debugging-port=9222
Then make sure you're logged into X in that browser window. (I keep one open and minimized on startup.)
Goose Recipe
ASSA includes a recipe for scheduled timeline digests:
Import the Recipe
Option 1: Generate a Deep Link
goose recipe deeplink recipes/x-news-digest.yaml
This outputs a goose://recipe?config=... URL. Paste it in a browser to import into Goose Desktop.
Option 2: Import in Goose Desktop
- Open Goose Desktop
- Click Recipes in the sidebar
- Click Import Recipe or browse for file
- Choose
recipes/x-news-digest.yamlfrom the Recipe File input field
Option 3: Run via CLI
goose run --recipe recipes/x-news-digest.yaml
Schedule the Recipe
After importing, on the Recipes screen:
- Click the clock icon next to the recipe
- Select the frequency and time in the Add Schedule modal
- Click Save
Note: Requires Chrome running with --remote-debugging-port=9222.
Tools
Development
# Run in development mode (auto-reload)
bun dev
# Type check
bun typecheck
# Lint check
bun check
# Run tests
bun test
# Run tests in watch mode
bun test:watch
# Build for production
bun run build
Testing
ASSA uses Bun's built-in test runner with Jest-compatible syntax.
Running Tests
# Run all tests
bun test
# Run tests in watch mode (re-runs on file changes)
bun test:watch
# Run a specific test file
bun test src/__tests__/utils/time.test.ts
# Run tests matching a pattern
bun test --grep "snowflake"
Test Structure
Tests are located in src/__tests__/ mirroring the source structure:
src/
โโโ __tests__/
โ โโโ state/
โ โ โโโ manager.test.ts # State management tests
โ โโโ tools/
โ โ โโโ dismiss-conversation.test.ts
โ โโโ utils/
โ โโโ time.test.ts # Time utility tests
โโโ state/
โ โโโ manager.ts
โโโ tools/
โ โโโ ...
โโโ utils/
โโโ time.ts
Writing Tests
Create a .test.ts file in the appropriate __tests__ subdirectory:
import { describe, expect, test } from "bun:test";
import { myFunction } from "../../utils/my-module.js";
describe("myFunction", () => {
test("does something expected", () => {
const result = myFunction("input");
expect(result).toBe("expected output");
});
});
Mocking
Use mock.module() to mock Node.js modules:
import { mock } from "bun:test";
// Mock before importing the module that uses it
mock.module("node:os", () => ({
homedir: () => "/tmp/test-home",
}));
// Now import your module
import { myFunction } from "../../state/manager.js";
Test Isolation
When testing stateful modules, use unique IDs and clean up between tests:
import { beforeEach } from "bun:test";
let testCounter = 0;
function uniqueId(prefix: string): string {
return `${prefix}_${Date.now()}_${++testCounter}`;
}
beforeEach(() => {
clearState(); // Reset shared state
});
Getting an Arcade API Key
- Go to arcade.dev
- Create an account
- Navigate to API Keys
- Create a new key
- Add it to your
.envfile
Architecture
Goose (MCP Client)
โ
โ MCP Protocol
โผ
ASSA MCP Server
โ
โ HTTPS
โผ
Arcade.dev
โ
โ OAuth + API
โผ
X
Roadmap
Completed
- Migrate to React components
- Custom CSS design system (9 color palettes, semantic tokens)
- Timeline digest via Playwright browser automation
- Goose recipe for scheduled digests
Next Steps
- Make the "reply UI" smaller:
- Add small "dismiss" and "reply" icons in the lower left corner of each card
- Clicking "reply" replaces icons with input area and reply button
- Clicking outside closes the UI and brings back the icons
Future
- Add
X.GetMutedUsersto Arcade to filter muted accounts from conversations - Add media expansion to Arcade to show images in tweets
- VIP accounts feature (track specific users)
- If a Tweet is a reply, show the original tweet as a stylized quote above the comment
- If a tweet quotes another tweet, show the quoted tweet below the comment
Known Limitations
- No DM support โ Arcade's X integration doesn't include DM access
- 7-day limit โ X search only goes back 7 days
Credits
Built for MCP Connect 2026 by RL Nabors.
Uses: