{"id":16589499,"url":"https://github.com/rnons/ted2srt","last_synced_at":"2025-06-13T08:06:29.252Z","repository":{"id":7625089,"uuid":"8984410","full_name":"rnons/ted2srt","owner":"rnons","description":"Download bilingual subtitles of TED talks. https://ted2sub.org now.","archived":false,"fork":false,"pushed_at":"2021-03-24T08:26:36.000Z","size":3644,"stargazers_count":143,"open_issues_count":0,"forks_count":21,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-02T01:04:44.579Z","etag":null,"topics":["bilingual","ted","ted-subtitle","ted-talks"],"latest_commit_sha":null,"homepage":"https://ted2sub.org","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rnons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["rnons"]}},"created_at":"2013-03-24T10:24:13.000Z","updated_at":"2024-09-10T09:34:16.000Z","dependencies_parsed_at":"2022-09-05T04:31:04.075Z","dependency_job_id":null,"html_url":"https://github.com/rnons/ted2srt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rnons/ted2srt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnons%2Fted2srt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnons%2Fted2srt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnons%2Fted2srt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnons%2Fted2srt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rnons","download_url":"https://codeload.github.com/rnons/ted2srt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rnons%2Fted2srt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259606882,"owners_count":22883558,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bilingual","ted","ted-subtitle","ted-talks"],"created_at":"2024-10-11T23:09:02.406Z","updated_at":"2025-06-13T08:06:29.225Z","avatar_url":"https://github.com/rnons.png","language":"Haskell","funding_links":["https://github.com/sponsors/rnons","https://liberapay.com/rnons/"],"categories":[],"sub_categories":[],"readme":"# ted2srt\n\n[Donate](https://liberapay.com/rnons/)\n\nThis is the source code of [ted2srt.org](https://ted2srt.org), a website to download bilingual subtitles of TED talks. The backend is written in Haskell, while the frontend is in PureScript.\n\n## Set up development environment\n\n[Nix](https://nixos.org/nix/) is required for development.\n\n### Frontend\n\n```\ncd frontend\nnix-shell\nspago build -w\nyarn\nyarn start\n```\n\nRun `yarn build` once, so that backend can start correctly.\n\n### Backend\n\n```\ncd backend\nnix-shell\nstack build\n```\n\nWhile `stack` is running, you can setup the database. Postgres and Redis are needed, you can either use your system wide version or nix installed version. Following is how to use the nix version.\n\n```\n# enter nix shell to use postgres and redis installed by nix\nnix-shell\n\n# start redis\nredis-server --daemonize yes\n\n# start postgres, you only need to initdb and createdb for the first time\ninitdb -D data -U postgres\npg_ctl -D data -l logfile start\ncreatedb -U postgres ted2srt\n```\n\nOne last step, create your own `.env` file and modify it to your needs.\n\n```\ncp .env.example .env\n```\n\nIf `stack build` has finished now, run\n\n```\nstack exec ted2srt\n```\n\nto start the server.\n\nThen navigate to http://localhost:3001, try paste a TED talk url to the search bar, cheers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnons%2Fted2srt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frnons%2Fted2srt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frnons%2Fted2srt/lists"}