Skip to content

Instantly share code, notes, and snippets.

View skve's full-sized avatar

Luke Shiels skve

View GitHub Profile
@skve
skve / route.ts
Created September 19, 2025 16:20
Motivational Slack Bot
import { log } from "@interfere/observability/log";
import { WebClient } from "@slack/web-api";
import { generateText } from "ai";
import dayjs from "dayjs";
import timezone from "dayjs/plugin/timezone";
import utc from "dayjs/plugin/utc";
import { Context, Effect, Layer, Schema } from "effect";
import { NextResponse } from "next/server";
import { env } from "@/env";

Keybase proof

I hereby claim:

  • I am skve on github.
  • I am skve (https://keybase.io/skve) on keybase.
  • I have a public key ASCW6D-qy3gspKajkuZuiJLjExQe6gcv9WPkZmX9nng3Mgo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am lukeshiels on github.
  • I am shiels (https://keybase.io/shiels) on keybase.
  • I have a public key ASCEhqTzlqFLHis8XZ0_pAeKPFFC_BRbTxj9OySTtkxTEAo

To claim this, I am signing this object: