Skip to content

Latest commit

 

History

History

README.md

Temp Note

A temporary note website built with Hoa framework, deployed on Cloudflare Workers.

Features

  • πŸš€ Instant Use - Create notes instantly without registration or login
  • πŸ’Ύ Auto-save - Notes are automatically stored in the cloud
  • πŸ”— Shareable Links - Each note has a unique URL for easy sharing
  • ⚑ Edge Powered - Hosted on Cloudflare Workers for low-latency global access
  • 🎨 Minimal Design - Clean interface focused on content
  • πŸ“ Lightweight - Built with the Hoa framework for efficient, maintainable code

Live Demo:

⚠️ Security Notice: Do not input any sensitive information, such as API keys, account credentials, or secrets.

Tech Stack

  • Hoa - Lightweight web framework
  • @hoajs/router - Router middleware
  • Cloudflare Workers - Edge computing platform
  • Cloudflare KV - Key-value storage

Getting Started

Prerequisites

  • Node.js >= 20
  • Cloudflare account

Install Dependencies

npm install

Configuration

  1. Rename the configuration template:
mv wrangler.example.jsonc wrangler.jsonc
  1. Edit wrangler.jsonc and fill in your configuration:
{
  "account_id": "your-account-id", // Change to your Cloudflare Account ID
  "name": "tempnote",
  "main": "tempnote.js",
  "compatibility_date": "2025-09-30",
  "no_bundle": false,
  "minify": true,
  "rules": [
    {
      "type": "Text",
      "globs": ["**/*.html"]
    }
  ],
  "routes": [
    {
      "pattern": "your-domain.com/*", // Change to your domain
      "zone_name": "your-domain.com" // Change to your domain
    }
  ],
  "kv_namespaces": [
    {
      "binding": "KV",
      "id": "your-kv-namespace-id" // Change to your KV Namespace ID
    }
  ]
}

Local Development

npm run dev

Deploy

npm run deploy

License

MIT