{"id":43665939,"url":"https://github.com/cheahjs/novellama","last_synced_at":"2026-02-04T22:45:01.999Z","repository":{"id":286426311,"uuid":"942938643","full_name":"cheahjs/novellama","owner":"cheahjs","description":"LLM novel translations","archived":false,"fork":false,"pushed_at":"2026-01-22T23:51:29.000Z","size":662,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-23T16:53:54.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cheahjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-04T23:21:39.000Z","updated_at":"2026-01-22T23:51:49.000Z","dependencies_parsed_at":"2025-10-25T11:16:06.677Z","dependency_job_id":"33549f53-f979-4573-9529-ddf31de9c5c9","html_url":"https://github.com/cheahjs/novellama","commit_stats":null,"previous_names":["cheahjs/novellama"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cheahjs/novellama","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheahjs%2Fnovellama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheahjs%2Fnovellama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheahjs%2Fnovellama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheahjs%2Fnovellama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cheahjs","download_url":"https://codeload.github.com/cheahjs/novellama/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheahjs%2Fnovellama/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29098250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T21:05:08.033Z","status":"ssl_error","status_checked_at":"2026-02-04T21:04:53.031Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-02-04T22:45:01.343Z","updated_at":"2026-02-04T22:45:01.992Z","avatar_url":"https://github.com/cheahjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Novellama\n\n![Icon](./public/icon.png)\n\nNovellama is a web app designed to help translate web novels into another language using LLMs.\n\nIt is currently specifically designed for translating web novels from [Syoyetsu](https://syosetu.com/).\n\n## Configuration\n\nEnvironment variables:\n\n- `OPENAI_BASE_URL`: The base URL for the OpenAI-compatible API. Default is `https://api.openai.com/v1`.\n- `OPENAI_API_KEY`: The API key for the OpenAI-compatible API.\n- `TRANSLATION_MODEL`: The model to use for translation using the OpenAI-compatible API. Default is `gpt-4o-mini`.\n- `QUALITY_CHECK_MODEL`: The model to use for quality check using the OpenAI-compatible API. Default is `gpt-4o`. Must support structured output.\n- `TRANSLATION_TEMPERATURE`: The temperature to use for translation. Default is `0.1`.\n- `QUALITY_CHECK_TEMPERATURE`: The temperature to use for quality check. Default is `0.1`.\n- `MAX_TOKENS`: The maximum number of tokens to use for the OpenAI-compatible API. Default is `16000`.\n- `TOKENIZER_MODEL`: The tokenizer model on HuggingFace to use with transformers.js for counting tokens. Default is `Xenova/gpt-4o`.\n- `MAX_TRANSLATION_OUTPUT_TOKENS`: Max tokens for the translation response. Default is `8000`.\n- `MAX_QUALITY_CHECK_OUTPUT_TOKENS`: Max tokens for the quality check response. Defaults to `MAX_TRANSLATION_OUTPUT_TOKENS` when unset.\n- `TRANSLATION_USE_STREAMING`: Enable streaming translation responses. Default is `false`.\n- `TRANSLATION_POSTPROCESS_REMOVE_XML_TAGS`: Remove XML-like tags from translations. Default is `true`.\n- `TRANSLATION_POSTPROCESS_REMOVE_CODE_BLOCKS`: Remove markdown code blocks from translations. Default is `true`.\n- `TRANSLATION_POSTPROCESS_TRIM_WHITESPACE`: Trim whitespace. Default is `true`.\n- `TRANSLATION_POSTPROCESS_TRUNCATE_AFTER_SECOND_HEADER`: Truncate after a second title header. Default is `true`.\n\nFeature flags:\n\n- `ENABLE_MODEL_CONFIG` (boolean): When `true`, enables setting per-novel overrides for model selection and token limits via the Novel Settings UI. When disabled, global env values are always used.\n\nPer-novel overrides (when `ENABLE_MODEL_CONFIG=true`):\n\n- Translation model and quality check model can be set on each novel (leave blank to inherit global env values).\n- Token limits can also be set per novel:\n  - `Max Context Tokens` (used for truncating previous-chapter context)\n  - `Max Translation Output Tokens`\n  - `Max Quality Check Output Tokens`\n\nThe translations have been tested using `gemini-2.0-flash` as the translation model and `gemini-2.0-pro-exp-02-05` as the quality check model.\n\n## Development\n\n```bash\nnpm install\nnpm run dev\n```\n\n## Notes\n\nThis is an experiment with \"vibe-coding\", and as such code quality is on the lower end.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheahjs%2Fnovellama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheahjs%2Fnovellama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheahjs%2Fnovellama/lists"}