Merged
Conversation
… OpenFile OpenL10n is the record of what a file says, in any language: one transcript per media per language, addressed by the OpenFile id (or a url: or live: identity for what has no bytes), lines as seconds into the media, a translation kept beside the original and marked with what it came from, complete or heard in pieces, made once on request with 202 progress, served as JSON, SRT, VTT or text. OpenI18n is one file a service serves at /.well-known/openi18n.json about the languages it speaks: which, which it can turn into which, how to ask for one, and where texts are translated, with limits, models and the pivot said out loud. Both are what nixamp 0.24 and 0.25 serve today, written down so anything that hears or translates can keep the same record. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015KAKuRngFbQg3kET6RS5yN
ThreatCrush Security Scan22 finding(s) HIGH/CRITICAL: 3 | MEDIUM: 10 | LOW: 9
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Anthony: "opentranslate or something", then "localization and internationalization: do an openl10n and openi18n".
Two specs, in the OpenFile shape (problem, terms, the record, rules that degrade, discovery, what is deliberately absent, related standards, version history):
docs/openl10n.md): the record of what a file says, in any language. One transcript per media per language, addressed by the OpenFilesha256:id (orurl:/live:for what has no bytes), lines as seconds into the media,translatedFromon a translation,completefor a whole-media pass,languageslisting every transcript the keeper has, translation made once on request with a202progress answer, SRT/VTT/text renderings, discovery through the OpenFile record'stranscriptslist andrel="openl10n", plus what a hearer and a keeper owe each other (detect the language, stamp media seconds, batch as you go, ask the keeper first) and the live-caption line shape.docs/openi18n.md):/.well-known/openi18n.json, the languages a service speaks withtargetsper language,default, how toaskfor a language on any resource, thetranslateendpoint (POST {texts, from, to}→{texts},GETanswers the languages),auth,limits,modelsper pair and thepivot. What is absent: quality scores, locales, string bundles.Both registered in
lib/specs.ts(OpenL10n under OpenFile). They describe what nixamp 0.24 and 0.25 serve today:/api/v1/transcripts/ID?language=,/hash/ID.srt,GET/POST /api/v1/translate. nixamp's own/.well-known/openi18n.jsonand a top-leveltranscriptson its OpenFile records are the follow-up on the nixamp side.🤖 Generated with Claude Code
https://claude.ai/code/session_015KAKuRngFbQg3kET6RS5yN