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

bohaska

pingNations

Remix of bohaska/nationstatesSentimentAI
Public
Like
pingNations
Home
Code
2
README.md
C
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
9
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

Automatically answers issues from NationStates using AI sentiment analysis, for free!

Requires:

  • Huggingface token (HF_TOKEN) for the sentiment analysis of options. Generate a read-only token at Huggingface after making an account to use.
  • Email address (EMAIL) for user agent. Required as per NationStates ToS
  • Autologin token (AUTOLOGIN) for logging into NationStates. See NationStates API docs for more info.
  • Nation name (NATION_ID). Put your nation name, the one you use when you login to your account.

Selects the option with the highest positivity score. Feel free to adapt the algorithm to your own tastes.

See the Republic of Positivum for an example of this val in action.

Cron
  • main.tsx
Code
README.md
C
main.tsx
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.