Skip to content

About

Logic First LLM Second Assistant

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

LiteBot

Messaging Assistant designed to use as few LLM tokens as possible. Works even without AI.

Unlike OpenClaw, it is not designed to be autonaumous, Only performs predefined operations.

Can easily be extended to fit your needs using coding agents.

Usage

Clone the repository

pnpm install then pnpm start

Create .env file

BOT_TOKEN=
UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=

Run Modes

Use these scripts from the project root:

  • pnpm start
    Runs the Telegram bot (tgbot.js).

  • pnpm run http
    Runs the web server (http.js) in watch mode.

  • pnpm run local
    Runs the local CLI chatbot (localbot.js).

  • pnpm run env:save
    Reads local .env and saves keys/values to Upstash Redis key envkeys.

  • pnpm run env:restore
    Reads envkeys from Upstash Redis and rewrites local .env.

Telegram Bot

You need to create a Telegram Bot using BotFather, then get the bot token.

You also need your chat ID.

APIC

Brevo

Mailing API

Tavily

LLM friendly web search

Duck Duck Go

Web Search

OpenSky

OpenSky cannot find many flights because it relies on a voluntarily crowdsourced network of ADS-B receivers, creating coverage gaps over oceans, remote areas, and low-density regions. It does not use satellite data or proprietary data feeds like commercial trackers, covering roughly 45% of global flights.

Scrapers

Wikipedia

Get a Wikipedia article

TextOnly

Text version of websites

Reminders

The file statsks.js must be exectuted at regular interval to allow scheduled operations to be performed.

On windows: use schtasks

On Linux: use Cron jobs

Don't forget to include the argument --env-file=.env to load environment variables.

About

Logic First LLM Second Assistant

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages