{"id":32638568,"url":"https://github.com/ugent-library/mix","last_synced_at":"2026-05-18T04:03:57.725Z","repository":{"id":65661709,"uuid":"592217501","full_name":"ugent-library/mix","owner":"ugent-library","description":"Package mix implements convenience methods to integrate the Laravel Mix asset bundler in your Go project.","archived":true,"fork":false,"pushed_at":"2023-01-23T15:27:41.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-10-31T02:14:09.705Z","etag":null,"topics":["go","webpack"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ugent-library.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}},"created_at":"2023-01-23T08:26:12.000Z","updated_at":"2024-06-19T18:29:14.000Z","dependencies_parsed_at":"2023-02-13T00:30:51.271Z","dependency_job_id":null,"html_url":"https://github.com/ugent-library/mix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ugent-library/mix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugent-library%2Fmix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugent-library%2Fmix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugent-library%2Fmix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugent-library%2Fmix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ugent-library","download_url":"https://codeload.github.com/ugent-library/mix/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugent-library%2Fmix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33164672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","webpack"],"created_at":"2025-10-31T02:02:50.106Z","updated_at":"2026-05-18T04:03:57.713Z","avatar_url":"https://github.com/ugent-library.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Go Reference](https://pkg.go.dev/badge/github.com/ugent-library/mix.svg)](https://pkg.go.dev/github.com/ugent-library/mix)\n\n# ugent-library/mix\n\nPackage mix implements convenience methods to integrate the Laravel Mix\nasset bundler in your Go project.\n\nFor more information on Laravel Mix, visit the [Laravel Mix](https://laravel-mix.com/) website.\n\n## Install\n\n```sh\ngo get -u github.com/ugent-library/mix\n```\n\n## Example\n\nSetup your `webpack.mix.js`:\n\n```js\nconst mix = require('laravel-mix')\nmix.sass('./assets/css/app.scss', 'css')\nmix.setPublicPath('./static')\n// ...\n```\n\nAnd in your Go app:\n\n```go\n    // setup file server\n    mux := http.NewServeMux()\n    mux.Handle(\"/static/\", http.StripPrefix(\"/static/\", http.FileServer(http.Dir(\"./static\"))))\n\n    // setup assets\n    assets, err := mix.New(mix.Config{\n        ManifestFile: \"static/mix-manifest.json\",\n        PublicPath:   \"/static/\",\n    })\n    if err != nil {\n        log.Fatal(err)\n    }\n\n    // make asset path helper available to templates\n    funcs := template.FuncMap{\n        \"assetPath\": assets.AssetPath,\n    }\n\n    // ...\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugent-library%2Fmix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fugent-library%2Fmix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugent-library%2Fmix/lists"}