Commit Graph
110 Commits
Author SHA1 Message Date
MythEclipse 694f14a316 fix: add node 22 + set secrets to correct repo 2026-05-08 19:03:24 +07:00
MythEclipse eba4fbe00a fix: remove wrong working-directory from workflow 2026-05-08 19:01:49 +07:00
MythEclipse 443ff77be9 ci: add CF Workers deploy workflow + fix relay header forwarding 2026-05-08 18:58:50 +07:00
MythEclipse dfb0f5942f docs: add alternative deployment endpoint to README 2026-05-08 17:32:56 +07:00
MythEclipseandClaude Opus 4.7 75731af9b6 Remove edge runtime directive from route handler
Cloudflare Workers via OpenNext tidak support Next.js edge runtime.
Hapus export const runtime = "edge" agar handler jalan di Workers runtime.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 17:32:35 +07:00
MythEclipseandClaude Opus 4.7 765bcdca44 Add Cloudflare Workers deploy config via OpenNext
- Fix build:worker script to use opennextjs-cloudflare build
- Add open-next.config.ts required by OpenNext Cloudflare
- Update wrangler.toml main entry to .open-next/worker.js
- Ignore .open-next/ and .wrangler/ build artifacts

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 17:27:06 +07:00
MythEclipse d211c40fa1 docs: update example usage in README for clarity and formatting 2026-05-07 23:45:00 +07:00
MythEclipse ef436182fc docs: update live deployment section by removing trailing slashes from URLs 2026-05-07 23:26:17 +07:00
MythEclipse 240866c0d0 docs: add alternative deployment endpoint to README 2026-05-07 23:25:58 +07:00
MythEclipse 6a82a834eb refactor: remove unnecessary targetUrl parameter and prevent compressed responses in relay 2026-05-07 23:09:49 +07:00
MythEclipse c1772d6b6b docs: update live deployment section in README for clarity 2026-05-07 22:56:38 +07:00
MythEclipse 6f91d93672 feat: restructure API and documentation with new relay handler and UI components 2026-05-07 22:55:23 +07:00
MythEclipse fff35f02fe docs: add secondary deployment endpoint to README 2026-05-07 22:52:22 +07:00
MythEclipse 1df328ad96 docs: update README with live deployment info and correct example commands 2026-05-07 22:47:49 +07:00
MythEclipse 6588c2bc39 test: add unit tests for relay-utils functions 2026-05-07 22:41:08 +07:00
MythEclipse d848b903e8 fix: update example proxy commands in README for clarity 2026-05-07 22:37:48 +07:00
MythEclipse 932bc192fa feat: integrate Geist font and enhance layout with utility classes
feat: update Home component with new UI elements and improved request handling

chore: add components.json for component configuration

feat: implement Badge component for status indication

feat: create Button component for consistent styling

feat: develop Card component structure for content display

feat: add Input component for user input fields

feat: implement Label component for form accessibility

feat: create Select component for dropdown functionality

feat: add Separator component for visual separation

feat: implement Toaster component for notifications

feat: create Tabs component for tabbed navigation

feat: add Textarea component for multi-line input

feat: add utility functions for class name management
2026-05-07 22:30:50 +07:00
MythEclipse f691476046 fix: prevent encoding issues by removing problematic headers in relay responses 2026-05-07 22:25:39 +07:00
MythEclipse 1a0a947674 Refactor code structure for improved readability and maintainability 2026-05-07 22:22:35 +07:00
MythEclipse 83e66805c4 refactor: remove Tailwind CSS configuration and update dependencies 2026-05-07 21:34:39 +07:00
MythEclipse 001bba1d24 fix: add CORS headers to relay responses and OPTIONS method handling 2026-05-07 21:31:00 +07:00
MythEclipse 7416bfb2bd feat: migrate proxy logic to new structure and implement new relay route 2026-05-07 21:26:27 +07:00
MythEclipse 083d77e252 fix: migrate proxy handler logic from pages/api/proxy.ts to app/api/proxy/route.ts and remove old file 2026-05-07 21:22:30 +07:00
MythEclipse 52845da832 fix: update proxy configuration to use 'config' export and move allowed methods inside handler 2026-05-07 21:20:31 +07:00
MythEclipse 751eb083c4 fix: migrate proxy route logic from route.ts to pages/api/proxy.ts 2026-05-07 21:19:20 +07:00
MythEclipse f3ec82cbbf fix: replace stripRelayHeaders with filterHeaders and add BLOCKED_HEADERS set 2026-05-07 21:16:31 +07:00
MythEclipse f2ebba51bb fix: remove commented console log for request headers in Home component 2026-05-07 21:11:44 +07:00
MythEclipse 3fdbaf3ced fix: update .gitignore and tsconfig for Next.js compatibility 2026-05-07 21:09:09 +07:00
MythEclipse 9d1ef77cda fix: update duplex type assertion in buildRelayRequest function 2026-05-07 21:07:39 +07:00
MythEclipse b11763a7ab fix: update devDependencies to include TypeScript and type definitions for React 2026-05-07 21:05:58 +07:00
MythEclipse e553ed3e02 fix: update PostCSS configuration to correctly reference '@tailwindcss/postcss' 2026-05-07 21:04:45 +07:00
MythEclipse 262dbfafbe chore: migrate PostCSS and Tailwind configuration to .mjs format 2026-05-07 21:03:30 +07:00
MythEclipse b0dde3c885 refactor: migrate to Next.js with edge functions and update relay utilities
- Removed old relay utilities and tests, replacing them with a new structure under `src/lib/relay-utils.ts`.
- Implemented a new edge function in `app/api/proxy/route.ts` to handle proxy requests.
- Created a new Next.js layout and page structure for the frontend, including a user interface for testing the proxy.
- Added Tailwind CSS for styling and configured PostCSS.
- Updated TypeScript configuration for better compatibility with Next.js.
- Removed unused files and configurations related to the previous setup.
2026-05-07 20:59:23 +07:00
MythEclipse 4c30f2a6e1 chore: remove index.html and update vercel.json for API routing 2026-05-07 20:45:18 +07:00
MythEclipse db175e6e95 fix: update fetch options to include target URL in buildRelayRequest 2026-05-07 20:43:09 +07:00
MythEclipse cc38b7c7c6 feat: add isAllowedTarget function to validate URL protocols 2026-05-07 20:37:10 +07:00
MythEclipse 9e2f4d39b1 feat: implement API handler for edge runtime with method validation and target normalization 2026-05-07 20:35:18 +07:00
MythEclipse a6333750e4 feat: update project structure and enhance UI for Edge Proxy Test
- Add .gitignore to exclude api directory
- Remove deprecated api/index.ts file
- Create new public/index.html with improved UI and functionality
- Update package.json build script to copy index.html to dist
- Enhance request handling in index.html with custom headers and presets
- Improve response display with status, time, and size metrics
2026-05-07 20:26:51 +07:00
MythEclipse 9c05003e70 fix: remove .vercelignore file 2026-05-07 20:15:27 +07:00
MythEclipse 7df78ad117 fix: remove rewrites configuration from vercel.json 2026-05-07 20:14:43 +07:00
MythEclipse c0bfce3d26 Revert "feat: update build output directory to 'dist' in package.json and set outputDirectory in vercel.json"
This reverts commit cfbc4609b5.
2026-05-07 20:13:41 +07:00
MythEclipse 149a646fea fix: correct typo in comment for allowed methods 2026-05-07 20:08:04 +07:00
MythEclipse 9759d63b38 feat: add index.html for Edge Proxy Relay interface and remove rewrites from vercel.json 2026-05-07 20:03:57 +07:00
MythEclipse 49f50b7aa8 fix: update fetch request URL to use '/api' endpoint 2026-05-07 20:00:43 +07:00
MythEclipse e5de4bbbfb fix: update fetch API endpoint and adjust rewrites in vercel.json 2026-05-07 19:59:34 +07:00
MythEclipse 6f28d18b95 feat: refactor header handling and update module path in package.json 2026-05-07 19:55:39 +07:00
MythEclipse 1b86a33b4e fix: remove functions configuration from vercel.json 2026-05-07 19:54:25 +07:00
MythEclipse 8e0cf9d0f3 fix: update import path for relay-utils and restore functions configuration in vercel.json 2026-05-07 19:53:20 +07:00
MythEclipse 212ce32480 feat: implement Edge Proxy Relay with request handling and header filtering 2026-05-07 19:49:52 +07:00
MythEclipse d8e1e125b1 feat: update vercel.json to restore build and install commands, and adjust routing configuration 2026-05-07 19:46:08 +07:00