{"id":13548126,"url":"https://github.com/tikzit/tikzit","last_synced_at":"2025-05-16T04:05:38.901Z","repository":{"id":27495996,"uuid":"30976242","full_name":"tikzit/tikzit","owner":"tikzit","description":"pgf/TikZ diagram editor","archived":false,"fork":false,"pushed_at":"2024-04-17T17:30:34.000Z","size":5394,"stargazers_count":1166,"open_issues_count":66,"forks_count":72,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-04-08T14:09:46.653Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tikzit.github.io","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tikzit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2015-02-18T17:13:50.000Z","updated_at":"2025-04-08T11:36:32.000Z","dependencies_parsed_at":"2024-01-13T16:24:28.021Z","dependency_job_id":"0efba995-454b-4cf3-9d69-38ff120c33f5","html_url":"https://github.com/tikzit/tikzit","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikzit%2Ftikzit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikzit%2Ftikzit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikzit%2Ftikzit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikzit%2Ftikzit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tikzit","download_url":"https://codeload.github.com/tikzit/tikzit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464895,"owners_count":22075570,"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":[],"created_at":"2024-08-01T12:01:06.040Z","updated_at":"2025-05-16T04:05:33.891Z","avatar_url":"https://github.com/tikzit.png","language":"C++","funding_links":[],"categories":["C++","others"],"sub_categories":[],"readme":"\r\n# TikZiT\r\n\r\nTikZiT is a graphical tool for rapidly creating graphs and string diagrams using PGF/TikZ. It was used, for example, to make all of the 2500+ diagrams in \u003ca href=\"http://cambridge.org/pqp\"\u003ethis book\u003c/a\u003e.\r\n\r\n## Building on Windows\r\n\r\nTiKZiT can be built in Windows using Qt Creator (part of \u003ca href=\"http://doc.qt.io/qt-5/windows-support.html\"\u003eQt for Windows\u003c/a\u003e) or from the command line. In either case, it is recommended you compile with \u003ca href=\"http://www.mingw.org/\"\u003emingw32\u003c/a\u003e, which is included in the official Qt distribution. There is no reason, in principle, that you couldn't use mingw64 or MSVC, but these haven't been tested.\r\n\r\nIn addition to Qt itself, TikZiT needs flex/bison, \u003ca href=\"https://poppler.freedesktop.org/\"\u003ePoppler\u003c/a\u003e (with Qt bindings), and \u003ca href=\"https://www.openssl.org/\"\u003eOpenSSL\u003c/a\u003e. For flex/bison, the simplest way to install this is to download \u003ca href=\"https://github.com/lexxmark/winflexbison\"\u003eWinFlexBison\u003c/a\u003e, then make sure both are in your `%Path%` so the build tools can find them. Alternatively, you can install it via \u003ca href=\"https://chocolatey.org\"\u003eChocolatey\u003c/a\u003e, via:\r\n\r\n    \u003e choco install winflexbison\r\n\r\nFor convenience, I have packaged up some headers and pre-built DLLs to take care of the Poppler and OpenSSL dependencies in a single shot. If you wish to use these, download \u003ca href=\"http://tikzit.github.io/download/win32-deps.zip\"\u003ewin32-deps.zip\u003c/a\u003e and extract it into the source folder before building. At this point, you should be able to open `tikzit.pro` in Qt Creator and build the project. If you wish to build from the command line, make sure `mingw32-make.exe` is in your `%Path%`. For the version that comes with Qt, this is in `C:\\Qt\\Tools\\mingw530_32\\bin`. Then, from the command prompt, run:\r\n\r\n    \u003e C:\\Qt\\5.XX.X\\mingw53_32\\bin\\qtenv2.bat\r\n    \u003e cd \\path\\to\\tikzit\r\n    \u003e qmake -r\r\n    \u003e mingw32-make\r\n\r\nTo get a portable directory, you can then (optionally) run:\r\n\r\n    \u003e deploy-win.bat\r\n\r\n\r\n\r\n## Building on Linux\r\n\r\nThis should be buildable in Linux using a \"standard\" dev setup (gcc, flex, bison, make) as well as Qt. It has been most recently tested with Qt 6.2. First \u003ca href=\"https://www.qt.io/\"\u003eInstall Qt\u003c/a\u003e and add the `$QTDIR/bin` to your `PATH`. The other dependencies should be available via your package manager, e.g. on Ubuntu 22.04 run:\r\n\r\n    sudo apt install flex bison libpoppler-dev libpoppler-cpp-dev libgl1-mesa-dev\r\n\r\nAfter that, building is:\r\n\r\n    qmake -r\r\n    make\r\n\r\nTo get a portable directory, you can then (optionally) run:\r\n\r\n    ./deploy-linux.sh\r\n\r\nBuilding on other distributions should be similar. For Qt setup, you can find instructions for \u003ca href=\"https://wiki.qt.io/Install_Qt_5_on_openSUSE\"\u003eopenSUSE\u003c/a\u003e and \u003ca href=\"https://wiki.archlinux.org/index.php/qt\"\u003eArch Linux\u003c/a\u003e on the Qt wiki.\r\n\r\n\r\n## Building on MacOS\r\n\r\nYou'll need developer tools, Qt5, and Poppler (with Qt bindings) installed. You can install these via Homebrew with the following commands:\r\n\r\n    brew install qt5\r\n    brew install poppler --with-qt\r\n\r\nThis doesn't add Qt binaries to the `$PATH` by default, so you may wish to either run:\r\n\r\n    brew link --force qt5\r\n\r\nor add `/usr/local/opt/qt/bin` to your `$PATH`. Once this is done, TikZiT can be built from the command line via:\r\n\r\n    qmake -r\r\n    make\r\n\r\nTo bundle the required libraries into `tikzit.app` and create a `.dmg` file, you can additionally run:\r\n\r\n    ./deploy-osx.sh\r\n\r\n\r\nOn older systems (pre-10.11), you can build with Qt 5.6, which \u003ca href=\"http://doc.qt.io/qt-5/supported-platforms-and-configurations.html\"\u003eclaims\u003c/a\u003e to support Mac OS as far back as Mountain Lion. It is installable via \u003ca href=\"https://www.macports.org\"\u003eMacPorts\u003c/a\u003e:\r\n\r\n    sudo port -N -k install qt56\r\n    export PATH=/opt/local/libexec/qt5/bin:$PATH\r\n\r\nI have only tested this with TikZiT 2.0, so to install Poppler (required by TikZiT \u003e= 2.1), you are on your own.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikzit%2Ftikzit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftikzit%2Ftikzit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikzit%2Ftikzit/lists"}