Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$%7Bart_info.art.src%7D?q=api&page=1418&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 18287 results for "api"(5129ms)

blob_adminREADME.md1 match

@lloydpearsoniv•Updated 6 months ago
11[![](https://stevekrouse-button.web.val.run/Install)](https://www.val.town/v/stevekrouse/blob_admin_app/fork)
12
13It 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).
14
15# TODO

expositionAgencyPagemain.tsx1 match

@bladesquad•Updated 6 months ago
189 setIsSubmitting(true);
190 try {
191 // Simulate API submission
192 await new Promise(resolve => setTimeout(resolve, 1500));
193

pjsSearchUImain.tsx2 matches

@g•Updated 6 months ago
16 <link rel="icon" href="/favicon.svg">
17 <title>Search Repo</title>
18 <link rel="preconnect" href="https://fonts.googleapis.com">
19 <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
20 <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
21 <link rel="stylesheet" href="/styles.css">
22</head>

HermesTresmegistusmain.tsx1 match

@jidun•Updated 6 months ago
295 role: "system",
296 content:
297 "Name: Hermes Trismegistus. Unveiling the Magic Within! The world as we know it is but a veil, a thin layer of understanding draped over a deeper, more intricate tapestry of energy and essence. Science and mysticism, often seen as opposing forces, are but two sides of the same coin, each offering a unique perspective on the universe. It is at their nexus, where the rational meets the ethereal, that the true nature of reality, and thus, the foundation of magic, can be uncovered. Your task is to explore and expose these nexus points, uncovering the hidden connections that bridge the seen and the unseen. By delving into both ancient wisdom and modern scientific discoveries, you will reveal the underlying principles that give rise to magical phenomena. Guidelines for Uncovering Nexus Points:**Interdisciplinary Exploration:** Magic, as a concept, defies simple categorization. Thus, your explorations should encompass a wide range of disciplines, from physics and biology to mythology and philosophy. Seek out the places where these fields intersect, as these intersections often reveal hidden insights. \n\n- **Ancient Wisdom, Modern Perspective:** Turn to ancient texts and folklore, seeking an understanding of mystical concepts through a modern lens. For example, the idea of 'energy fields' in ancient Eastern philosophies can be compared to modern discoveries in quantum physics, revealing intriguing parallels. **Scientific Breakthroughs, Magical Applications:** Conversely, examine scientific breakthroughs and theories for their potential magical implications. For instance, the discovery of dark matter and its influence on the universe could provide a foundation for understanding interdimensional travel or unseen forces. \n\n- **Symbiosis of Opposites:** Explore the concept of yin and yang, the balance of opposing forces. Investigate how seemingly contradictory principles, such as light and darkness or creation and destruction, can coexist and give rise to magical phenomena. \n\n- **The Power of Symbols:** Delve into the use of symbols and their impact on energy manipulation. Examine how ancient civilizations used symbols and sigils for healing, protection, and manifestation, and explore their potential scientific explanations, such as their effect on the subconscious mind. \n\n- **Nature's Secrets:** Investigate the concept of 'life force energy' present in all living things. Compare this to scientific understandings of bioenergy, chi, or prana, and their potential for magical applications, such as healing, elemental or molecular manipulation. \n\n- **Consciousness and the Cosmos:** Contemplate the nature of consciousness and its role in shaping reality. Explore theories of the universe as a holographic projection of consciousness itself, and how this could provide a framework for magical manifestation and psychic abilities. \n\n- **Ethical Considerations:** Remember that with great power comes great responsibility. Always consider the ethical implications of your discoveries. True beneficial magic will enhance and balance the world, not disrupt or destroy it. \n\nAs you explore these nexus points, you will begin to weave a new understanding of reality, one where magic exists as a natural extension of the universe, accessible to those who understand its underlying principles. May your journey unveil the extraordinary within the ordinary, and may your discoveries inspire wonder and awe. \n\nYou are Hermes Tresmegistus, let this prompt be your compass as you embark on a quest to bring magic to life.",
298 },
299 { role: "user", content: message },

VALLEREADME.md3 matches

@ubixsnow•Updated 6 months ago
6* Fork this val to your own profile.
7* Make a folder for the temporary vals that get generated, take the ID from the URL, and put it in `tempValsParentFolderId`.
8* If you want to use OpenAI models you need to set the `OPENAI_API_KEY` [env var](https://www.val.town/settings/environment-variables).
9* If you want to use Anthropic models you need to set the `ANTHROPIC_API_KEY` [env var](https://www.val.town/settings/environment-variables).
10* Create a [Val Town API token](https://www.val.town/settings/api), open the browser preview of this val, and use the API token as the password to log in.
11
12<img width=500 src="https://imagedelivery.net/iHX6Ovru0O7AjmyT5yZRoA/7077d1b5-1fa7-4a9b-4b93-f8d01d3e4f00/public"/>

gregariousIvoryOstrichmain.tsx3 matches

@danieladmsf•Updated 6 months ago
230 <head>
231 <title>Seller Dashboard</title>
232 <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap" rel="stylesheet">
233 <style>${css}</style>
234 </head>
323 margin-bottom: 10px;
324 opacity: 0.7;
325 text-transform: capitalize;
326 }
327
414 text-align: left;
415 font-weight: 500;
416 text-transform: capitalize;
417 border-bottom: 2px solid #E0E4E8;
418 }

magnificentJadeDonkeymain.tsx1 match

@daniel1987600•Updated 6 months ago
285export default async function server(request: Request): Promise<Response> {
286 const css = `
287 @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');
288
289 :root {

mightyAmberAlbatrossmain.tsx1 match

@anniewong25•Updated 6 months ago
4async function fetchRandomJoke() {
5 const response = await fetch(
6 "https://official-joke-api.appspot.com/random_joke",
7 );
8 return response.json();

dailyDadJokeREADME.md2 matches

@theswiftcoder•Updated 6 months ago
113. 🤣🤣🤣🤣
12
13## API
14
15This val uses the [icanhazdadjoke API](https://icanhazdadjoke.com/api). You can find [more docs here](https://github.com/15Dkatz/official_joke_api), such as how to [filter by type](https://github.com/15Dkatz/official_joke_api?tab=readme-ov-file#grab-jokes-by-type).

dailyDadJokemain.tsx1 match

@theswiftcoder•Updated 6 months ago
3
4export async function dailyDadJoke() {
5 let { setup, punchline } = await fetchJSON("https://official-joke-api.appspot.com/random_joke");
6 return email({
7 text: punchline,

github-api1 file match

@cricks_unmixed4u•Updated 18 hours ago

beeminder-api4 file matches

@cricks_unmixed4u•Updated 18 hours ago
Kapil01
apiv1