Show HN: An LLM translator whose source is a single prompt

Cassandra993 pts0 comments

GitHub - hamsterbase/llm-translator · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

hamsterbase

llm-translator

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>3 Commits<br>3 Commits

README.md

README.md

README.zh-CN.md

README.zh-CN.md

screenshot.png

screenshot.png

View all files

Repository files navigation

LLM Translator

中文

This project is just one prompt. Copy the prompt below into Claude Code or any other LLM to generate the complete app.

Online Demo: https://tasks.hamsterbase.com/llm-translator/

Features

Bring your own model — configure any OpenAI-compatible API (base URL, key, model, temperature).

Customizable translation templates — define your own prompts with {{text}} / {{source_lang}} / {{target_lang}} placeholders and switch between them via tabs.

Prompt

Build a single-file HTML app (Vue 3 + Tailwind via CDN, no build step) — an LLM-powered translator in neobrutalist<br>style: cream paper background with a black grid, thick 4–6px black borders, hard offset shadows (no border-radius),<br>accent colors acid-yellow / hot-orange / cobalt / pink, Archivo Black headings + JetBrains Mono body.

Features:<br>- User configures an OpenAI-compatible API (base URL, key, model, temperature); saved to localStorage.<br>- Multiple translation templates: name, source lang, target lang, custom prompt using {{text}} / {{source_lang}} /<br>{{target_lang}}; switch via top tabs. Default = one EN→ZH template (English prompt).<br>- Two-column workspace: input textarea ↔ streamed output; Ctrl/Cmd+Enter to run; copy / clear buttons.<br>- Right-side settings drawer with sub-tabs: API config · Templates editor (add/delete/rename, language selects, prompt<br>editor) · Import/Export (JSON, with or without API key, overwrite/merge on import).<br>- Bilingual UI (Chinese ↔ English) toggle next to Settings; locale persisted; status indicator (READY/SETUP) with<br>blinking dot.

Powered by HamsterBase Tasks

About

tasks.hamsterbase.com/llm-translator/

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Custom properties

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

You can’t perform that action at this time.

translator prompt reload hamsterbase search readme

Related Articles