offx
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.
Viewing readonly version of main branch: v67View latest version
A Val Town application that summarizes your Twitter feed using AI.
- 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
- Deno installed
- Val Town CLI installed:
deno install -grAf jsr:@valtown/vt
- Val Town account
-
Clone this repository:
vt clone @yourusername/offx
-
Navigate to the project directory:
cd offx
-
Make changes to the code as needed
-
Push changes to Val Town:
vt push
The following environment variables need to be set in Val Town:
TWITTER_BEARER_TOKEN
: Your Twitter API bearer tokenOPENAI_API_KEY
: Your OpenAI API keyAUTH_USERNAME
: Username for dashboard authenticationAUTH_PASSWORD
: Password for dashboard authentication
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
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
vt push
: Push local changes to Val Townvt pull
: Pull the latest changes from Val Townvt status
: Show working tree statusvt browse
: Open the Val in a web browser
MIT