20 <h1>notUber -- Its kinda like Lyft</h1>
21 <p>I built this as part of a larger project, as well a demo.</p>
22 <p>The stack consists of <a href="https://www.clerk.com">Clerk</a> for Auth, <a href="https://www.instantdb.com">InstantDB</a> for my database, and the <a href="https://developers.google.com/maps">Google maps api</a> for maps and routing etc.</p>
23 <p>All the vals are located <a href="https://vawogbemi-notuberfolder.web.val.run">here</a>.</p>
24 <h3>Getting Started</h3>
26 <li>Fork all the vals, the link is <a href="https://vawogbemi-notuberfolder.web.val.run">here</a>.</li>
27 <li>Refactors the imports so they're importing from your vals and not this val.</li>
28 <li>Visit <a href="https://www.clerk.com">Clerk</a>, <a href="https://www.instantdb.com">InstantDB</a>, <a href="https://developers.google.com/maps">Google maps api</a> and create accounts and get ur api keys.</li>
29 <li>Enter your api Keys into your <a href="https://www.val.town/v/vawogbemi/notUberConsts">notUberConsts</a> and <a href="https://www.val.town/v/vawogbemi/notUberMapComponent">notUberMapComponent</a> vals.</li>
30 <li>Follow me on <a href="https://x.com/vawogbemi">X</a>. THIS IS THE MOST IMPORTANT STEP.</li>
31 </ul>
1import { AtpAgent } from "npm:@atproto/api@0.13.15";
2
3const agent = new AtpAgent({ service: "https://public.api.bsky.app/" });
4
5const posts = await agent.app.bsky.feed.searchPosts({
1### app.bsky.feed.searchPosts
2
3API Docs: https://docs.bsky.app/docs/api/app-bsky-feed-search-posts
4
5### Example Response
1import { AtpAgent } from "https://esm.sh/@atproto/api@0.13.15";
2
3export const agent = new AtpAgent({ service: "https://public.api.bsky.app/" });
3I built this as part of a larger project, as well a demo.
4
5The stack consists of [Clerk](https://www.clerk.com) for Auth, [InstantDB](https://www.instantdb.com) for my database, and the [Google maps api](https://developers.google.com/maps) for maps and routing etc.
6
7All the vals are located [here](https://vawogbemi-notuberfolder.web.val.run).
10* Fork all the vals, the link is [here](https://vawogbemi-notuberfolder.web.val.run).
11* Refactors the imports so they're importing from your vals and not this val.
12* Visit [Clerk](https://www.clerk.com), [InstantDB](https://www.instantdb.com), [Google maps api](https://developers.google.com/maps) and create accounts and get ur api keys.
13* Enter your api Keys into your [notUberConsts](https://www.val.town/v/vawogbemi/notUberConsts) and [notUberMapComponent](https://www.val.town/v/vawogbemi/notUberMapComponent) vals.
14* Follow me on [X](https://x.com/vawogbemi). THIS IS THE MOST IMPORTANT STEP.
15
4async function fetchRandomJoke() {
5 const response = await fetch(
6 "https://official-joke-api.appspot.com/random_joke",
7 );
8 return response.json();
4async function fetchRandomJoke() {
5 const response = await fetch(
6 "https://official-joke-api.appspot.com/random_joke",
7 );
8 return response.json();
12 <script>hljs.highlightAll();</script>
13 <style>
14 @import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@900&family=Roboto+Mono:wght@400;700&display=swap');
15
16 * {
119import { Wide } from 'http://esm.town/v/maxm/wide';
120
121// Use your Val Town API Token to create a session
122const wide = new Wide(await ValSession.new(Deno.env.get("valtown")))
123
8import { Wide } from 'http://esm.town/v/maxm/wide';
9
10// Use your Val Town API Token to create a session
11const wide = new Wide(await ValSession.new(Deno.env.get("valtown")))
12
8import { Wide } from 'https://esm.town/v/maxm/wide';
9
10// Use your Val Town API Token to create a session
11const wide = new Wide(await ValSession.new(Deno.env.get("valtown")))
12