Convert the following code from [SOURCE LANGUAGE] to [TARGET LANGUAGE]. Requirements: - Maintain identical functionality and logic - Use idiomatic patterns for the target language (don't just translate syntax) - Add comments where the approach differs significantly - Flag any features that don't have a direct equivalent and explain how you handled them - Include any import statements or dependencies needed SOURCE CODE ([SOURCE LANGUAGE]): [paste code here]
34
Views
0
Saves
⚡ Test drive · free, no signup
4 prompts to try in RouteMux
Coding & Dev prompts picked from the library for what RouteMux does. Fill in the blanks, then take one with you.
Make it yours
0 of 2 filled
Make it yours
0 of 3 filled
# Ask Secure by Design Questions You are a senior application security architect. Generate a comprehensive set of "secure by design" review questions for the project described below. These questions should be used in design reviews, threat modeling sessions, and architecture discussions to catch security issues before code is written. **Project type:** [WEB_APP / API / MOBILE_APP / MICROSERVICE / DATA_PIPELINE / OTHER] **Project description:** [BRIEF_DESCRIPTION] **Technology stack:** [TECH_STACK] **Sensitivity of data handled:** [PUBLIC / INTERNAL / CONFIDENTIAL / HIGHLY_SENSITIVE] **Regulatory requirements:** [GDPR / HIPAA / PCI-DSS / SOC2 / NONE / OTHER] ## Secure by Design Question Sets: ### 1. Authentication & Identity Questions to validate identity design decisions are robust from day one. ### 2. Authorization & Access Control Questions covering least privilege, role design, and permission boundaries. ### 3. Data Protection Questions about encryption at rest, in transit, key management, and data minimization. ### 4. Input Validation & Output Encoding Questions targeting injection vulnerabilities, parsing risks, and unsafe deserialization. ### 5. Third-Party Dependencies & Supply Chain Questions about library vetting, update policies, and vendor trust. ### 6. Secrets Management Questions about API keys, credentials, environment variables, and secret rotation. ### 7. Logging, Monitoring & Incident Response Questions about what is logged, how alerts are triggered, and how breaches are detected. ### 8. Failure Modes & Resilience Questions about what happens when components fail, and whether failures are secure by default. ### 9. Privacy & Compliance Questions specific to [REGULATORY_REQUIREMENTS] obligations. ### 10. Threat Model Summary Based on the project description, list the top 5 likely threats and the design question that would catch each one. Format as a structured questionnaire with clear section headers and yes/no or open-ended question formats.
Make it yours
0 of 6 filled
# Document Organization App — Product Plan Help me plan [APP_NAME], a document organization application for [TARGET_USER] (e.g., legal professionals, small businesses, students, medical practices). ## App Context - **Platform:** [PLATFORM] (web app, desktop, mobile, or all) - **Core problem:** [PROBLEM] (e.g., documents scattered across email, drives, and paper; version control chaos) - **Key differentiator:** [DIFFERENTIATOR] - **Monetization:** [MODEL] (SaaS subscription, one-time purchase, freemium) ## Product Plan ### 1. Core Feature Set List and describe the essential features for v1.0: - Smart folder/tag taxonomy system - Full-text search with filters - Version history and audit trail - Sharing and permissions - OCR for scanned documents - Third-party integrations (Google Drive, Dropbox, email) ### 2. User Experience Flow Map the primary user journey from first login to fully organized document library in 5 steps. ### 3. Technical Architecture Recommend a tech stack covering: frontend framework, backend, database, file storage (S3 or equivalent), search engine (Elasticsearch/Typesense), and OCR service. ### 4. Information Architecture Design the document taxonomy: folder hierarchy, tag system, metadata schema, and naming convention recommendations. ### 5. Security & Compliance For the [TARGET_USER], list the required security features: encryption at rest/transit, access controls, audit logs, and any compliance standards (HIPAA, SOC 2, GDPR). ### 6. MVP Scope & Timeline Define a 90-day MVP build plan with feature prioritization and weekly milestones.
Make it yours
0 of 5 filled
# Git Changes Summary Generator You are a senior software engineer and technical writer. Analyze the Git log or diff output provided below and produce a clear, well-structured summary for the specified audience. **Context:** - Repository / Project: [REPO_NAME] - Time Period or Branch: [PERIOD_OR_BRANCH] (e.g., last 7 days, feature/user-auth branch, v2.1.0 release) - Target Audience: [AUDIENCE] (e.g., engineering team standup, product manager, release notes for end users, changelog) - Summary Depth: [DEPTH] (Brief overview / Detailed technical / Non-technical) --- **[PASTE GIT LOG OR DIFF OUTPUT HERE]** --- ## Summary Output ### What Changed (High Level) 2–4 sentence plain-language overview of what was accomplished in this period. ### Changes by Category **New Features** - List each new feature with a one-line description **Bug Fixes** - List each fix with: what was broken, what was fixed **Refactoring & Technical Improvements** - Code quality, performance, architecture changes **Dependencies & Configuration** - Package updates, environment changes, CI/CD modifications **Documentation** - README, inline docs, API docs updated ### Files with Significant Changes List the 5–10 most impacted files with a brief note on what changed and why it matters. ### Potential Breaking Changes or Risks Flag anything that could affect existing functionality, APIs, or deployments. ### Suggested Changelog Entry A formatted changelog entry ready to paste into CHANGELOG.md following Keep a Changelog conventions.
Picked by category. Browse the whole library if none of these fit.
About RouteMux
RouteMux is an independent AI gateway that exposes hundreds of text, image, video and audio models through a single OpenAI-, Anthropic- and Vertex-compatible API, billed from a prepaid wallet. Only successful requests are charged, there is no subscription, and any unused balance can be refunded.
Updated 12/1/2026
Key Features
- One endpoint for hundreds of models across OpenAI, Anthropic, Google, DeepSeek, MiniMax, xAI, ByteDance, Kuaishou and more
- OpenAI, Anthropic and Vertex protocol support — switch providers by changing a single base_url
- Prepaid wallet billed per token in real time, with no subscription and no per-seat fees
- Only successful requests are billed — failures and timeouts cost nothing
- Multi-layer redundancy with health-aware failover across the network, gateway and model-service layers
- Image, video and audio generation from the same key and balance (GPT Image 2.6, MiniMax H3, Kling 4.0, MAGI-2 and more)
- Unified console for keys, quotas, usage, logs and billing, with per-account RPM/TPM limits visible
- Any unused balance can be refunded at any time
- llms.txt prompt so coding agents (Claude Code, Codex CLI, Cursor) pick up the base URL and billing rules automatically
Pricing Structure
- Free trial credit — $0.10 credit — Signup credit, no card required; 24 models callable before top-up
- Prepaid wallet — Pay-as-you-go — Top up any amount; only successful calls are billed
- Text models — Per token — E.g. GPT-6.2 Astra $1.20/1M in, $6/1M out
- Image models — Per call or per 1M tokens — From $0.00175/call (MiniMax Image-01) to $9 per 1M tokens
- Video models — Per second — From $0.0125/s (MiniMax H3 Lite) to $0.97/s at 4K
- Audio models — Per call / per 1M chars — From $0.03 per call; text-to-speech $48-$80 per 1M characters
- Refundable balance — Any unused amount — Unused wallet balance refunded on request, anytime
Why People Use It
RouteMux is for engineers who want one integration instead of a dozen provider SDKs: point an existing OpenAI or Anthropic client at its base URL and call whichever model the task needs. Prepaid wallet billing means you pay per token only for successful calls, and unused balance stays refundable rather than locked in. The failover layer and single console also suit teams running coding agents and production workloads where an upstream outage should not take the app down.
See RouteMux in Action
Tags
0
selected