• Townie
    AI
  • Blog
  • Docs
  • Pricing
Log inSign up
tomfrankly

tomfrankly

notion-swatches-latest

Public
Like
notion-swatches-latest
Home
Code
2
README.md
main.ts
Branches
1
Pull requests
Remixes
History
Environment variables
2
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
README.md

Notion Swatch Database Generator

How to use:

  1. Go to https://www.notion.so/profile/integrations and create an internal integration.
  2. Be sure to give the integration access to your target database. On the database page, go to ••• → Connections → Add your Integration to the database.
  3. Copy the secret key and set it as the value of the API_TESTER Environment Variable in this project.
  4. Copy the Data Source ID for your database's data source and set it as the value of the DATA_SOURCE_ID Environment Variable in this project.
  5. In main.ts, set MAX_COLORS to a desired value. You can limit it to a small number, like 5-10, for testing.
  6. Hit Run.
Code
README.mdmain.ts
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.