• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
cricks_unmixed4u

cricks_unmixed4u

gissue-rolodex

Remix of cricks_unmixed4u/ai-prompted
Public
Like
gissue-rolodex
Home
Code
11
backend
1
frontend
3
integrations
1
.cursorrules
.vtignore
README.md
config.ts
deno.json
knowledge.md
C
main.cron.tsx
main.http.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
7
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
/
Code
/
Search
index.ts
https://cricks_unmixed4u--2cca0ce4493211f08b0e76b3cceeab13.web.val.run
README.md

TODO

  • Replace "⏭️ Issue #44 already sent today, skipping" check with "already sent at {last_modified_at}"

What this val does

See Beeminder's blog post on rolodex goals for more context!

This val helps you automate that.

  • TracksΒ issues or pull‑requests updated in a chosen GitHub repository since the last run.

  • SendsΒ a datapoint to a Beeminder goal.

  • RunsΒ on a Val Town schedule---no servers, no cron on your laptop.

It relies on two helper vals:

ValPurpose
github-apiWrapper around GitHub's REST API with a helper for updated issues.
beeminder-clientLightweight Beeminder v1 API client for goal and datapoint operations.

Prerequisites

  1. AΒ Val TownΒ account with Cron permissions.

  2. GitHub Personal Access TokenΒ (repo:readΒ scope).

  3. GitHub Repository Owner and Repository Name (as separate environment variables).

  4. Beeminder API TokenΒ (underΒ Account β†’ SettingsΒ on beeminder.com).

  5. An existingΒ Beeminder goalΒ to receive datapoints.


Setup

  1. Copy this valΒ into your own namespace (pressΒ CopyΒ in Val Town).

  2. Configure

Set environment variables:

KeyExample value
GITHUB_TOKENghp_xxx

Configure val (see config.ts or use environment variables):

KeyExample value
GITHUB_REPO_OWNERocto-org
GITHUB_REPO_NAMEmonorepo
BEEMINDER_USERNAMEalice
BEEMINDER_TOKENabcd1234efgh
BEEMINDER_GOALissues

You can either set these as environment variables, or manage them in config.ts.

  1. Schedule it: Schedule a val.town CRON trigger.

How it works

  1. Calls github-api to fetch issues/PRs updated since the last run (it handles tracking the last execution time internally).
  2. For each updated issue/PR, crafts a summary comment and sends a +1 datapoint to your Beeminder goal, with the correct (seconds) timestamp.
HTTP
  • index.ts
    cricks_unmixed4u--2c…13.web.val.run
Cron
  • main.cron.tsx
Code
backendfrontendintegrations.cursorrules.vtignoreREADME.mdconfig.tsdeno.jsonknowledge.md
C
main.cron.tsx
main.http.tsx
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.