{"id":13366517,"url":"https://github.com/sciter-sdk/Go-sciter","last_synced_at":"2025-03-12T18:31:06.581Z","repository":{"id":37664956,"uuid":"44316518","full_name":"sciter-sdk/go-sciter","owner":"sciter-sdk","description":"Golang bindings of Sciter: the Embeddable HTML/CSS/script engine for modern UI development","archived":false,"fork":false,"pushed_at":"2023-05-13T09:49:59.000Z","size":2418,"stargazers_count":2560,"open_issues_count":96,"forks_count":267,"subscribers_count":129,"default_branch":"master","last_synced_at":"2024-05-22T21:09:30.677Z","etag":null,"topics":["go-binding","golang-bindings","gui","htmlayout","sciter","tiscript"],"latest_commit_sha":null,"homepage":"https://sciter.com","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sciter-sdk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-10-15T12:41:06.000Z","updated_at":"2024-05-20T08:40:52.000Z","dependencies_parsed_at":"2023-07-13T13:30:34.590Z","dependency_job_id":null,"html_url":"https://github.com/sciter-sdk/go-sciter","commit_stats":{"total_commits":179,"total_committers":26,"mean_commits":6.884615384615385,"dds":0.6201117318435754,"last_synced_commit":"7f18ada7f2f5758e0aa9e22340cb1abd6728f919"},"previous_names":["sciter-sdk/sciter","oskca/sciter"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sciter-sdk%2Fgo-sciter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sciter-sdk%2Fgo-sciter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sciter-sdk%2Fgo-sciter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sciter-sdk%2Fgo-sciter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sciter-sdk","download_url":"https://codeload.github.com/sciter-sdk/go-sciter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221309828,"owners_count":16795818,"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":["go-binding","golang-bindings","gui","htmlayout","sciter","tiscript"],"created_at":"2024-07-30T00:01:26.153Z","updated_at":"2024-10-24T11:30:19.669Z","avatar_url":"https://github.com/sciter-sdk.png","language":"C++","funding_links":[],"categories":["GUI"],"sub_categories":["高级控制台界面","高級控制台界面"],"readme":"# Go bindings for Sciter\n\n[![AppVeyor status](https://ci.appveyor.com/api/projects/status/rphv883klffw9em9/branch/master?svg=true)](https://ci.appveyor.com/project/pravic/go-sciter)\n[![Travis Status](https://travis-ci.com/sciter-sdk/go-sciter.svg?branch=master)](https://travis-ci.com/sciter-sdk/go-sciter)\n[![License](https://img.shields.io/github/license/sciter-sdk/go-sciter.svg)](https://github.com/sciter-sdk/go-sciter)\n[![Join the forums at https://sciter.com/forums](https://img.shields.io/badge/forum-sciter.com-orange.svg)](https://sciter.com/forums)\n\nCheck [this page](http://sciter.com/developers/sciter-sdk-bindings/) for other language bindings (Delphi / D / Go / .NET / Python / Rust).\n\n----\n\n\n# Attention\n\nThe ownership of project is transferred to this new organization.\nThus the `import path` for golang should now be `github.com/sciter-sdk/go-sciter`, but the package name is still `sciter`.\n\n# Introduction\n\nThis package provides a Golang bindings of [Sciter][] using cgo.\nUsing go sciter you must have the platform specified `sciter dynamic library`\ndownloaded from [sciter-sdk][], the library itself is rather small\n (under 5MB, less than 2MB when upxed) .\n\nMost [Sciter][] API are supported, including:\n\n * Html string/file loading\n * DOM manipulation/callback/event handling\n * DOM state/attribute handling\n * Custom resource loading\n * Sciter Behavior\n * Sciter Options\n * Sciter Value support\n * NativeFunctor (used in sciter scripting)\n\nAnd the API are organized in more or less a gopher friendly way.\n\nThings that are not supported:\n\n * Sciter Node API\n * TIScript Engine API\n\n# Getting Started\n\n###  At the moment only **Go 1.10** or higher is supported (issue #136).\n\n 1. Download the [sciter-sdk][]\n 2. Extract the sciter runtime library from [sciter-sdk][] to system PATH\n\n    The runtime libraries lives in `bin` `bin.lnx` `bin.osx` with suffix like `dll` `so` or `dylib`\n\n    * Windows: simply copying `bin\\64\\sciter.dll` to `c:\\windows\\system32` is just enough\n    * Linux:\n      - `cd sciter-sdk/bin.lnx/x64`\n      - `export LIBRARY_PATH=$PWD`\n      - `echo $PWD \u003e\u003e libsciter.conf`\n      - `sudo cp libsciter.conf /etc/ld.so.conf.d/`\n      - `sudo ldconfig`\n      - `ldconfig -p | grep sciter` should print libsciter-gtk.so location\n    * OSX:\n      - `cd sciter-sdk/bin.osx/`\n      - `export DYLD_LIBRARY_PATH=$PWD`\n\n 3. Set up GCC envrionmnet for CGO\n\n    [mingw64-gcc][] (5.2.0 and 7.2.0 are tested) is recommended for Windows users.\n\n    Under Linux gcc(4.8 or above) and gtk+-3.0 are needed.\n\n 4. `go get -x github.com/sciter-sdk/go-sciter`\n\n 5. Run the example and enjoy :)\n\n# Sciter Desktop UI Examples\n\n![](http://sciter.com/screenshots/slide-wt5.png)\n\n![](http://sciter.com/screenshots/slide-norton360.png)\n\n![](http://sciter.com/screenshots/slide-norton-nis.png)\n\n![](http://sciter.com/screenshots/slide-cardio.png)\n\n![](http://sciter.com/screenshots/slide-surveillance.png)\n\n![](http://sciter.com/screenshots/slide-technology.png)\n\n![](http://sciter.com/screenshots/slide-sciter-ide.png)\n\n![](http://sciter.com/screenshots/slide-sciter-osx.png)\n\n![](http://sciter.com/screenshots/slide-sciter-gtk.png)\n\n\n# Sciter Version Support\nCurrently supports [Sciter][] version `4.0.0.0` and higher.\n\n[Sciter]: http://sciter.com/\n[sciter-sdk]: http://sciter.com/download/\n\n# About Sciter\n\n[Sciter][] is an `Embeddable HTML/CSS/script engine for modern UI development, Web designers, and developers, can reuse their experience and expertise in creating modern looking desktop applications.`\n\nIn my opinion, [Sciter][] , though not open sourced, is an great\ndesktop UI development envrionment using the full stack of web technologies,\nwhich is rather small (under 5MB) especially compared to [CEF][],[Node Webkit][nw] and [Atom Electron][electron]. :)\n\nFinally, according to [Andrew Fedoniouk][author] the author and the Sciter\n`END USER LICENSE AGREEMENT` , the binary form of the [Sciter][]\ndynamic libraries are totally free to use for commercial or\nnon-commercial applications.\n\n# The Tailored Sciter C Headers\nThis binding ueses a tailored version of the sciter C Headers, which lives in directory: `include`. The included c headers are a modified version of the\n[sciter-sdk][] standard headers.\n\nIt seems [Sciter][] is developed using C++, and the included headers in the\n[Sciter SDK][sciter-sdk] are a mixture of C and C++, which is not\nquite suitable for an easy golang binding.\n\nI'm not much fond of C++ since I started to use Golang, so I made this\nmodification and hope [Andrew Fedoniouk][author] the author would provide\npure C header files for Sciter. :)\n\n[CEF]:https://bitbucket.org/chromiumembedded/cef\n[nw]: https://github.com/nwjs/nw.js\n[electron]:https://github.com/atom/electron\n\n[author]: http://sciter.com/about/\n[mingw64-gcc]: http://sourceforge.net/projects/mingw-w64/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsciter-sdk%2FGo-sciter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsciter-sdk%2FGo-sciter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsciter-sdk%2FGo-sciter/lists"}