{"id":20348043,"url":"https://github.com/libreservice/my_ovpn","last_synced_at":"2025-04-12T01:04:17.171Z","repository":{"id":62884791,"uuid":"535904896","full_name":"LibreService/my_ovpn","owner":"LibreService","description":"OpenVPN configuration generator.","archived":false,"fork":false,"pushed_at":"2023-06-10T18:20:47.000Z","size":86,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T01:04:09.948Z","etag":null,"topics":["naive-ui","openvpn","pwa","saas","vue","wasm"],"latest_commit_sha":null,"homepage":"https://my-ovpn.vercel.app/","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LibreService.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}},"created_at":"2022-09-13T00:56:01.000Z","updated_at":"2024-12-16T11:36:09.000Z","dependencies_parsed_at":"2024-11-17T22:38:22.587Z","dependency_job_id":null,"html_url":"https://github.com/LibreService/my_ovpn","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreService%2Fmy_ovpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreService%2Fmy_ovpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreService%2Fmy_ovpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreService%2Fmy_ovpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LibreService","download_url":"https://codeload.github.com/LibreService/my_ovpn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248501861,"owners_count":21114683,"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":["naive-ui","openvpn","pwa","saas","vue","wasm"],"created_at":"2024-11-14T22:19:01.293Z","updated_at":"2025-04-12T01:04:17.152Z","avatar_url":"https://github.com/LibreService.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# My OVPN\n![](https://img.shields.io/github/license/LibreService/my_ovpn)\n\nGenerate CA, server and client configuration for OpenVPN.\n\nhttps://my-ovpn.vercel.app/\n\nThis is a **STATIC** website so you **DON'T** need to own a server to host it.\n\nAll computation is performed in browser, thanks to Web Assembly.\n\nIt's also a [PWA](https://web.dev/progressive-web-apps/), so you can install it like a native App and use it **OFFLINE**.\n\n\n## Use case\n### CA\n* Generate `ca.key` and `ca.crt`.\n### Server\n* Given `ca.key` and `ca.crt`, generate `server.key` and `server.crt`.\n* Generate `dh2048.pem` (extremely slow).\n* Generate `ta.key` to be shared with every client.\n* Generate `server.conf`.\n### Client\n* Given `ca.key` and `ca.crt`, generate `client.key` and `client.crt`.\n* Generate `client.ovpn`.\n* Embed `ca.crt`, `client.key`, `client.crt` and `ta.key` into `client.ovpn` (useful for Android and iOS).\n\n## Self host\nDownload latest [artifact](https://github.com/LibreService/my_ovpn/releases/download/latest/my-ovpn-dist.zip) built by GitHub Actions.\n\n## Development workflow\nMy OVPN can be built on Linux and macOS.\n\nFor Windows, you may use WSL.\n### Install node\nYou may use [nvm](https://github.com/nvm-sh/nvm) to install node.\n### Install pnpm and dev dependencies\n```sh\nnpm i -g pnpm\npnpm i\n```\n### Install emsdk\nhttps://emscripten.org/docs/getting_started/downloads.html\n### Get submodule\n```sh\ngit submodule init\ngit submodule update\n```\n### Build wasm\n```sh\npnpm run lib\npnpm run wasm\n```\n### Run develop server\n```sh\npnpm run dev\n```\n### Lint\n```sh\npnpm run lint:fix\n```\n### Check type\n```sh\npnpm run check\n```\n### Build\n```sh\npnpm run build\n```\n### Test\n```sh\npnpm run test\n```\n### Preview\n```sh\npnpm run preview\n```\n### Deploy\n```sh\nexport LIBRESERVICE_CDN=https://cdn.jsdelivr.net/npm/@libreservice/my-ovpn@VERSION/dist/ # optional\nvercel build --prod\nvercel deploy --prebuilt --prod\n```\n\n## License\nAGPLv3+\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibreservice%2Fmy_ovpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibreservice%2Fmy_ovpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibreservice%2Fmy_ovpn/lists"}