FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
jpd3v

jpd3v

offx

Public
Like
1
offx
Home
Code
8
backend
23
frontend
3
shared
.cursorrules
.vtignore
README.md
deno.json
setup-env.ts
Branches
1
Pull requests
Remixes
History
Environment variables
8
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
6/30/2025
Viewing readonly version of main branch: v66
View latest version
README.md

OffX - Twitter Feed Summarizer

A Val Town application that summarizes your Twitter feed using AI.

Features

  • Fetch tweets from your Twitter home feed
  • Organize tweets by user-defined topics
  • Generate AI-powered summaries using OpenAI
  • Deliver summaries via email or Discord
  • Web dashboard for configuration and viewing summaries

Setup Instructions

Prerequisites

  • Deno installed
  • Val Town CLI installed: deno install -grAf jsr:@valtown/vt
  • Val Town account

Local Development

  1. Clone this repository:

    vt clone @yourusername/offx
    
  2. Navigate to the project directory:

    cd offx
    
  3. Make changes to the code as needed

  4. Push changes to Val Town:

    vt push
    

Environment Variables

The following environment variables need to be set in Val Town:

  • TWITTER_BEARER_TOKEN: Your Twitter API bearer token
  • OPENAI_API_KEY: Your OpenAI API key
  • AUTH_USERNAME: Username for dashboard authentication
  • AUTH_PASSWORD: Password for dashboard authentication

Project Structure

offx/
├── backend/
│   ├── database/      # SQLite database operations
│   └── routes/        # API route handlers
├── frontend/          # Frontend HTML, CSS, and JavaScript
├── shared/            # Shared code between frontend and backend
├── index.ts           # Main entry point
└── README.md          # This file

Deployment

This project is designed to run on Val Town. After pushing your code with vt push, you can access the application at:

https://val.town/v/yourusername/offx

Development Commands

  • vt push: Push local changes to Val Town
  • vt pull: Pull the latest changes from Val Town
  • vt status: Show working tree status
  • vt browse: Open the Val in a web browser

License

MIT

FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.