{"id":13402501,"url":"https://github.com/esimov/triangle-app","last_synced_at":"2025-04-13T19:23:08.876Z","repository":{"id":27613268,"uuid":"108454667","full_name":"esimov/triangle-app","owner":"esimov","description":"Desktop application for Triangle.","archived":false,"fork":false,"pushed_at":"2024-01-09T17:27:56.000Z","size":8461,"stargazers_count":36,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T10:03:10.429Z","etag":null,"topics":["delaunay-triangulation","electron","electron-app","golang","reactjs","triangle","triangulation"],"latest_commit_sha":null,"homepage":"https://github.com/esimov/triangle","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/esimov.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,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"esimov"}},"created_at":"2017-10-26T19:11:39.000Z","updated_at":"2024-11-18T18:37:23.000Z","dependencies_parsed_at":"2024-01-16T10:34:42.005Z","dependency_job_id":"aaa2fef8-6811-4114-a730-60311211a3a4","html_url":"https://github.com/esimov/triangle-app","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/esimov%2Ftriangle-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimov%2Ftriangle-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimov%2Ftriangle-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/esimov%2Ftriangle-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/esimov","download_url":"https://codeload.github.com/esimov/triangle-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248766687,"owners_count":21158302,"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":["delaunay-triangulation","electron","electron-app","golang","reactjs","triangle","triangulation"],"created_at":"2024-07-30T19:01:16.870Z","updated_at":"2025-04-13T19:23:08.854Z","avatar_url":"https://github.com/esimov.png","language":"JavaScript","funding_links":["https://github.com/sponsors/esimov"],"categories":["JavaScript"],"sub_categories":[],"readme":"# ![Triangle logo](https://user-images.githubusercontent.com/883386/32769128-4d9625c6-c923-11e7-9a96-030f2f0efff3.png)\n\nTriangle is a desktop application for https://github.com/esimov/triangle built on top of `electron`. It communicates with a backend server written in Go. For this reason you have to make sure Go is installed on your local environment.\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://user-images.githubusercontent.com/883386/34100521-59d39458-e3eb-11e7-8ee5-21b1da7784da.gif\"/\u003e\n\u003c/p\u003e\n\n## Install Go\n\nAfter instalation set your `GOPATH`, and make sure `$GOPATH/bin` is on your `PATH`.\n\n```bash\n$ export GOPATH=\"$HOME/go\"\n$ export PATH=\"$PATH:$GOPATH/bin\"\n```\n\n## Install \u0026 build the application\nIn case you do not want to build the application yourself you can jump straight to the [release](https://github.com/esimov/triangle-app/releases) page and download the executable file. **Windows**, **MacOS** and **Ubuntu** are supported. Otherwise, you can build the application yourself. \n\n### Install\n\n```bash\n$ git clone https://github.com/esimov/triangle-app\n$ yarn install\n```\n\u003e Note: the app was compiled, bundled and build using node.js v8.9.1. It's strongly recommend to use `yarn` instead of `npm` (I got some strange issues during the build process using `npm`).\n\nThe following commands are supported:\n\n```bash\n$ yarn run\n- build\n  react-scripts build\n- dev\n  nf start -p 3000\n- dist\n  yarn run build \u0026\u0026 electron-builder\n- eject\n  react-scripts eject\n- electron\n  electron .\n- make\n  electron-forge make\n- pack\n  electron-builder --dir\n- package\n  electron-forge package\n- publish\n  electron-forge publish\n- start\n  react-scripts start\n```\n### Usage:\n* To run the electron application:\n```bash\n$ yarn run dev\n```\n* To bundle the application with webpack:\n```bash\n$ yarn run build\n```\n\u003e Note: this is required in case you wish to start the electron application with `$ electron` command.\n\n* To build the binary files:\n```bash\n$ yarn run dist\n```\nThis command generates the binary files depending on the current operating system.\n\n#### Runing the web server\nOpen the terminal and select the `server` folder from the application root directory then type:\n\n```bash\n$ go run server.go triangle.go\n```\n\n#### Examples\n\n\u003ca href=\"https://github.com/esimov/triangle/blob/master/output/sample_3.png\"\u003e\u003cimg src=\"https://github.com/esimov/triangle/blob/master/output/sample_3.png\" width=418/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/esimov/triangle/blob/master/output/sample_4.png\"\u003e\u003cimg src=\"https://github.com/esimov/triangle/blob/master/output/sample_4.png\" width=418/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/esimov/triangle/blob/master/output/sample_5.png\"\u003e\u003cimg src=\"https://github.com/esimov/triangle/blob/master/output/sample_5.png\" width=418/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/esimov/triangle/blob/master/output/sample_6.png\"\u003e\u003cimg src=\"https://github.com/esimov/triangle/blob/master/output/sample_6.png\" width=418/\u003e\u003c/a\u003e\n\n## License\n\nThis project is under the Apache License 2.0. See the [LICENSE](https://github.com/esimov/triangle-app/blob/master/LICENSE) file for the full license text. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesimov%2Ftriangle-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesimov%2Ftriangle-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesimov%2Ftriangle-app/lists"}