github_status_emoji_mapmain.tsx2 matches
960"🔞": ":underage:",
961"🔟": ":keycap_ten:",
962"🔠": ":capital_abcd:",
963"🔡": ":abcd:",
964"🔣": ":symbols:",
1704"⚒️": ":hammer_and_pick:",
1705"⚔️": ":crossed_swords:",
1706"⚕️": ":staff_of_aesculapius:",
1707"⚖️": ":scales:",
1708"⚗️": ":alembic:",
224</div>
225<a href="https://htmx.org/examples/active-search/" style={itemStyle}>HTMX Active Search</a>
226<a href="https://www.bram.us/2024/02/18/custom-highlight-api-for-syntax-highlighting/" style={itemStyle}>
227Search and highlight text
228</a>
229<a href="https://www.bram.us/2024/02/18/custom-highlight-api-for-syntax-highlighting/" style={itemStyle}>
230Custom highlight API - Display style and script blocks
231</a>
232<a href="https://docs.val.town/quickstarts/first-website/" style={itemStyle}>
safeMessageBoardREADME.md1 match
6Future features will include moderation tools (auto-ban, bots), more powerful models, and multimedia support for video and audio moderation.
78To get an API key for the AI endpoints sign up free at https://www.openmoderator.com
9To install content-checker do `npm install content-checker` and check out the README: https://github.com/utilityfueled/content-checker
limeFerretREADME.md1 match
9To use it on your own Val Town SQLite database, [fork it](https://www.val.town/v/stevekrouse/sqlite_admin/fork) to your account.
1011It uses [basic authentication](https://www.val.town/v/pomdtr/basicAuth) with your [Val Town API Token](https://www.val.town/settings/api) as the password (leave the username field blank).
11It would be awesome if we built a fork of these downtime detectors that also stored historical uptime/downtime (and possibly latency) information in sqlite, and then provided an http interface to view the data as well.
1213### Free Stock API Proxy
1415I have been working on a stock price api tool, initially for use within Google Sheets: https://www.val.town/v/stevekrouse/stockPrice
1617It would be awesome to expand this to also be useful to other folks, ie folks within Val Town. For example, it could be used to build stock price trackers. Our [BTC price tracker](https://www.val.town/v/stevekrouse/btcPriceAlert) is pretty popular. I think one for stocks would be similarly popular, but it'd need someone to provide a good free stock API. Maybe one exists or maybe we need to proxy it.
1819
key_safe_linkREADME.md2 matches
1# One-click environment variable
23Copying and pasting secret API keys into your Val Town [Environment Variables](https://www.val.town/settings/environment-variables) is annoying and error prone. Wouldn't it be nice if you could add an environment variable in one click? What could such a protocol look like for third-party API company to be able to safely pass their customer's API keys to their customer's Val Town account.
45A naive approach to this would be a link that looks like this:
11```
1213However it isn't safe to put API key values in URLs like that, but it would be great if we could still put it in the URL so it can act like a simple link. We need to encrypt the API key in such a way that nobody can read it except for the Val Town app. Val Town could provide a public key for API providers to encrypt their tokens with.
1415We could add an extra layer of security by including the timestamp in the request as well as the Val Town username that the token is intended for. All that data should be included in the encrypted package. We can also ensure that each such link is used exactly once.
weatherGPTmain.tsx1 match
12baseURL: PORTKEY_GATEWAY_URL,
13defaultHeaders: createHeaders({
14apiKey: Deno.env.get("PORTKEY_API_KEY"),
15virtualKey: Deno.env.get("PORTKEY_OPENAI_VIRTUAL_KEY"),
16}),
1This val is part of the SteamPlaytimeHistory project which consists of logging your recently played games on steam everyday through valve's API.
23I wanted to log this data so I can analyse which days do I game the most ? which periods do I log the most hours in my confort game (Dead By Daylight) ? And so on. I think the data viz possibilities are super interesting, just like when Valve releases the "Steam in review" at the end of the year
45This val fetches your recent playtime history from valve's API and stores it in a database every day !
67The project uses multiple vals to work:
15To run this project, you'll need:
1617- A steam web api key: https://steamcommunity.com/login/home/?goto=%2Fdev%2Fapikey
18- SteamID of the user (profile needs to be public)
19- Discord websocket url (for error messages)
blob_adminREADME.md1 match
9[](https://www.val.town/v/stevekrouse/blob_admin_app/fork)
1011It uses [basic authentication](https://www.val.town/v/pomdtr/basicAuth) with your [Val Town API Token](https://www.val.town/settings/api) as the password (leave the username field blank).
1213# TODO
gameIdeaApimain.tsx19 matches
1import { blob } from "https://esm.town/v/std/blob";
2import { extractHttpEndpoint } from "https://esm.town/v/xkonti/extractHttpEndpoint?v=2";
3import { GptApi } from "https://esm.town/v/xkonti/gptApiFramework?v=67";
4import { z } from "npm:zod";
56const api = new GptApi({
7url: extractHttpEndpoint(import.meta.url).toLowerCase(),
8title: "Video Game Idea API",
9description: "The API for submitting fun Video Game Ideas",
10version: "1.0.0",
11policyGetter: async () => {
28}).describe("A Video Game Idea returned in exchange for the submitted one");
2930api.jsonToJson({
31verb: "post",
32path: "/submission",
35requestSchema: IdeaSubmissionSchema,
36responseSchema: IdeaResponseSchema,
37}, async (ctx, input, apiKey) => {
38if (apiKey == null || apiKey !== Deno.env.get("GPT_GAME_IDEA_API_KEY")) {
39return {
40idea: "",
61: {
62idea: "Please come up with some cool idea for the user. There is nothing in the database yet.",
63author: "API Server",
64};
6579});
8081export default api.serve();
8283// Idea management
105}
106107const privacyPolicy = `# Video Game Idea API Privacy Policy
108Last Updated: 2024-05-19
109110## 1. Introduction
111Welcome to Video Game Idea API. This privacy policy outlines our practices regarding the collection, use, and sharing of information through Video Game Idea API.
112113## 2. Data Collection and Use
114Video Game Idea API allows users to store, retrieve, list, and delete data. The data stored can be of any type as inputted by the user. We do not restrict or control the content of the data stored. Video Game Idea API serves as a public database accessible to anyone with an API key. The API is not intended for storing any personal data.
115116## 3. User Restrictions
117Video Game Idea API does not impose age or user restrictions. However, the API is not intended for use by children under the age of 13. Users are advised to consider the sensitivity of the information they share.
118119## 4. Global Use
120Our API is accessible globally. Users from all regions can store and access data on Video Game Idea API.
121122## 5. Data Management
123Given the nature of Video Game Idea API, there are no user accounts or user identification measures. The API operates like a public database where data can be added, viewed, and deleted by any user. Users should be aware that any data they input can be accessed, modified, or deleted by other users.
124125## 6. Data Security
126Video Game Idea API is protected by an API key; beyond this, there is no specific data security measure in place. Users should not store sensitive, personal, or confidential information using Video Game Idea API. User's ideas are stored in a secure manner and are not shared with any third parties. We assume no responsibility for the security of the data stored.
127128## 7. Third-Party Involvement
129The API code is run and data is stored by val.town. They act as a third-party service provider for Video Game Idea API.
130131## 8. Use Restrictions
132The API is not intended for use in any mission-critical applications. By submitting ideas, users are responsible for the content they submit. The ideas submitted by the user will be considered public domain.
133134## 9. Disclaimer
135The API is provided as-is without any guarantees.
136137## 10. Changes to This Policy