• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
wolf

wolf

FixItWand

Public
Like
FixItWand
Home
Code
14
.vscode
1
backend
8
docs
2
frontend
8
pi
8
shared
1
.envrc
.gitignore
.vtignore
README.md
deno.json
drizzle.config.ts
flake.lock
flake.nix
Branches
3
Pull requests
Remixes
History
Environment variables
8
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
4/28/2025
Viewing readonly version of main branch: v3879
View latest version
README.md

Maintenance Work Order System

A comprehensive system for submitting and managing maintenance work orders with AI-powered features for transcription, location detection, and work order generation.

Overview

This project provides a platform for users to submit maintenance work orders through a user-friendly interface. The system leverages AI capabilities to enhance the work order creation process:

  • Audio Transcription: Convert spoken descriptions into text using OpenAI's Whisper model
  • Image Analysis: Process images of maintenance issues to include in work orders
  • Location Detection: Automatically identify and match location references in work order descriptions
  • Smart Work Order Generation: Create professionally formatted work orders from user inputs

Features

  • Authentication System: Secure user authentication and authorization
  • Work Order Management: Submit, track, and manage maintenance requests
  • Wand Devices: Support for physical maintenance "wands" that can submit work orders from the field
  • Location Database: Comprehensive database of buildings and locations
  • AI Integration: OpenAI-powered features for transcription and content generation

Project Structure

  • /backend: Server-side code
    • /db: Database schemas and queries
    • /routes: API routes and handlers
    • /workorders: Work order generation logic
  • /frontend: Client-side code
    • /components: React components
    • /pages: Page components
  • /shared: Shared code between frontend and backend
  • /pi: Code for Raspberry Pi devices (wands)

Development

Prerequisites

  • Deno runtime
  • OpenAI API key (set as environment variable)

Commands for Development

  • Initialize node modules: deno cache --node-modules-dir .
  • Generate database migrations: deno run -A --node-modules-dir npm:drizzle-kit generate

Todo

  • Enroll devices
  • Implement vector similarity search: https://orm.drizzle.team/docs/guides/vector-similarity-search
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.