{"id":13577699,"url":"https://github.com/socialtables/openfpc","last_synced_at":"2025-10-02T21:30:40.736Z","repository":{"id":32433618,"uuid":"133541701","full_name":"socialtables/openfpc","owner":"socialtables","description":"A 2D CAD tool built on React, Three.js, and Immutable","archived":true,"fork":false,"pushed_at":"2023-03-03T18:09:59.000Z","size":5978,"stargazers_count":53,"open_issues_count":21,"forks_count":12,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-01-08T22:05:19.718Z","etag":null,"topics":["3d","electron","open-source","public","three-js"],"latest_commit_sha":null,"homepage":"","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/socialtables.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-05-15T16:10:05.000Z","updated_at":"2024-12-16T23:48:04.000Z","dependencies_parsed_at":"2024-01-19T08:17:04.146Z","dependency_job_id":"d8c9082f-bee0-43cc-840a-9e8b1d2ce380","html_url":"https://github.com/socialtables/openfpc","commit_stats":{"total_commits":14,"total_committers":3,"mean_commits":4.666666666666667,"dds":0.2857142857142857,"last_synced_commit":"d95d749d90700fe57fab27eba22de5c3185b35fc"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialtables%2Fopenfpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialtables%2Fopenfpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialtables%2Fopenfpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socialtables%2Fopenfpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/socialtables","download_url":"https://codeload.github.com/socialtables/openfpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235043602,"owners_count":18927006,"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":["3d","electron","open-source","public","three-js"],"created_at":"2024-08-01T15:01:23.684Z","updated_at":"2025-10-02T21:30:40.213Z","avatar_url":"https://github.com/socialtables.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# @socialtables/openfpc - Open Floor Plan Creator\n\nA 2D CAD tool built on React, Three.js, and Immutable. This is an open variant\nof Social Tables' floor authoring app, repackaged with Electron and invoked\nfrom your command line.\n\n## Purpose\n\nSocial Tables spends a lot of time passing data between immutable state trees\nand local mutable state through React component hierarchies. We'd like to share\nsome of what we've learned about doing this quickly and reliably, many times per\nsecond, to create drawing tools.\n\n## CLI Usage\n\nInstallation\n```sh\nnpm i -g electron\nnpm i @socialtables/openfpc\nnpm link\nopenfpc\n```\n\nOpen a sample floor\n```sh\nopenfpc sample-data/socialtables-hq-v3.json\n```\n\n## Functionality\n\n![](./st-hq.png)\n\n- 2D CAD tool with point / boundary / object manipulation\n- loads and saves JSON files, with support for Social Tables V3 floor data\n- create points, boundaries, and objects\n- supports curved boundaries and multiple boundary types\n- select and transform entities in bulk\n- undo, redo, copy, paste\n- guide snapping\n- line snapping with automatic bisection\n- object to boundary attachment keeps doors in place when editing walls\n\n## Licensing\n\nCopyright 2018 Social Tables\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n```javascript\n                                       (!![]+[])[+[]]+(![\n                                ]+[])[+!+[]]+[_=[],_[+[]]=[][(![\n                           ]+[])[+[]]+([][[]]+[])[+!+[]+!+[]+!+[]+!+[\n                       ]+!+[]]+(![]+[])[+!+[        ]+!+[]]+(![]+[])[+!+[\n                    ]+!+[]]],_[+!+[]]=(_[+[          ]]+[])[+!+[]+!+[]+!+[]]\n                  +(_[+[]]+[])[+!+[]+!+[]+!          +[]+!+[]+!+[]+!+[]]+([][[\n               ]]+[])[+!+[]]+(![]+[])[+!+[]          +!+[]+!+[]]+(!![]+[])[+[]]+(\n             !![]+[])[+!+[]]+(!![]+[])[+!+[          ]+!+[]]+(_[+[]]+[])[+!+[]+!+[]\n            +!+[]]+(!   ![]+[])[+[]]+(_[+[]]+[])[+!+[]+!+[]+!+[]+!+[]+!+   []+!+[]]+\n          (!![]+[])       [+!+[]],_[+!+[]+!+[]]=([]+[])[_[+!+[]]],_[+!       +[]+!+[]+\n         !+[]]=(+           [])[_[+!+[]]],_[+!+[]+!+[]+!+[]+!+[]]=(!           ![]+[])[\n       +[]]+(_[+             []]+[])[+!+[]+!        +[]+!+[]+!+[]+!             +[]+!+[]]\n      +_[+!+[]+!+[         ]][([][[]]+                    [])[+!+[]]+         (![]+[])[+!+\n     []]+(_[+!+[]+!+     []+!+[]]+                            [])[+[+!+     []+[+!+[]]]]+(!\n    ![]+[])[+!+[]+!+[]+!+[]]],_                                  [+!+[]+!+[]+!+[]+!+[]+!+[]+\n   !+[]]=_[+[]][_[+!+[]]]((!!            []+[])[+!+[]]+            (!![]+[])[+!+[]+!+[]+!+[]]\n   +(!![]+[])[+[]]+(!![]+[])          [+!+[]+!+[]]+(!![]+[          ])[+!+[]]+([][[]]+[])[+!+\n  []]+(_[+[]]+[])[+!+[]+!+         []+!+[]+!+[]+!+[]+!+[]+!+[         ]+!+[]]+(!![]+[])[+!+[]+\n !+[]+!+[]]+(![]+[])[+!+[        ]+!+[]+!+[]]+(_[+[]]+[])[+!+[]        +!+[]+!+[]]+(![]+[])[+!+\n []]+(+[+!+[]+!+[]+[+!+[        ]]+[+!+[]]])[(!![]+[])[+[]]+(_[+        []]+[])[+!+[]+!+[]+!+[]\n +!+[]+!+[]+!+[]]+_[+!+[       ]+!+[]][([][[]]+[])[+!+[]]+(![]+[]       )[+!+[]]+(_[+!+[]+!+[]+\n!+[]]+[])[+[+!+[]+[+!+[       ]]]]+(!![]+[])[+!+[]+!+[]+!+[]]]](+[       +!+[]+!+[]+!+[]+[+!+[]]\n])[+!+[          ]]+(!!       []+[])[+!+[]+!+[]+!+[]])()(([]+[])[(       [][[]]          +[])[+!\n+[]+!+[          ]+!+[]       +!+[]+!+[]]+(!![]+[])[+[]]+(![]+[])[       +!+[]]          +(![]+[\n])[+!+[          ]+!+[]       ]+([][[]]+[])[+!+[]+!+[]+!+[]+!+[]+!       +[]]+(          _[+[]]+\n[])[+!+          []+!+[       ]+!+[]]+(![]+[])[+!+[]+!+[]+!+[]]]()       )[+!+[          ]+!+[]]\n,_[+[+!+       []+[+[]]       ]]=_[+!+[]+!+[]][(![]+[])[+[]]+(!![]       +[])[+!+       []]+(_[+\n []]+[])[+!+[]+!+[]+!+[]       +!+[]+!+[]+!+[]]+(_[+!+[]+!+[]+!+[       ]]+[])[+[+!+[]+[+!+[]]]\n ]+(_[+!+[]+!+[]+!+[]+!+        []+!+[]+!+[]]+[])[+[]]+(+[+!+[]+[       +[]]+[+!+[]]])[(!![]+[]\n )[+[]]+(_[+[]]+[])[+!+[]        +!+[]+!+[]+!+[]+!+[]+!+[]]+_[+!+       []+!+[]][([][[]]+[])[+!\n  +[]]+(![]+[])[+!+[]]+(_[         +!+[]+!+[]+!+[]]+[])[+[+!+[]+[+       !+[]]]]+(!![]+[])[+!+\n   []+!+[]+!+[]]]](+[+!+[]+!          +[]+[+!+[]]])[+!+[]]+(![]+[]       )[+!+[]]+(!![]+[])[+\n   !+[]]+(_[+!+[]+!+[]+!+[]+!            +[]+!+[]+!+[]]    +[])[+[       ]]+(_[+[]]+[])[+!+[]\n    +!+[]+!+[]+!+[]+!+[]+!+[]]+                                           ([][[]]+[])[+!+[]+\n     !+[]]+(!![]+[])     [+!+[]+!+                                        []+!+[]]],[]][+!+\n      []+!+[]+!+[]         +!+[]+!+[]+                                    !+[]+!+[]+!+[]]+\n       _[+[+!+[]             +[+[]]]](+[+!+[        ]+!+[]+!+[]+!          +[]+!+[]+!+[]+\n         !+[]+!+[           ]+!+[]+[+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]])+(![]+[]\n          )[+!+[]+!       +[]]+(!![]+[])[+!+[]+!+[]+!+[]]+(![]+[])[+!+[]+!+[]+!+[]]+(_\n            [+[]]+[])   [+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]+!+[]]+(![]+[])[+[]]+(_[\n             +[]]+[])[+!+[]+!+[]+!+[]+!+[]+          !+[]+!+[]]+(!![]+[])[+!+[]]+(_\n               [+[]]+[])[+!+[]+!+[]+!+[]+!+          []+!+[]+!+[]+!+[]+!+[]]+([][\n                  []]+[])[+!+[]+!+[]]+(![]+          [])[+!+[]]+_[+[+!+[]+[+[]\n                    ]]](+[+!+[]+[+!+[]+!+[]          ]+[+!+[]]])+(![]+[])[+!\n                       +[]+!+[]+!+[]]+[]+[]+        []+[]+[]+[]+[]+[]+[]+\n                           []+[]+[]+[]+[]+[]+[]+[]+[]+[]+[]+[]+[]+[]+\n                                []+[]+[]+[]+[]+[]+[]+[]+[]+[]+[]\n                                       +[]+[]+[]+[]+[]+[]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocialtables%2Fopenfpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocialtables%2Fopenfpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocialtables%2Fopenfpc/lists"}