{"id":15289272,"url":"https://github.com/erdian718/lmodoffice","last_synced_at":"2026-05-02T09:34:29.421Z","repository":{"id":57502769,"uuid":"184193827","full_name":"erdian718/lmodoffice","owner":"erdian718","description":"A simple Lua module for converting various office documents into OOXML format files.","archived":false,"fork":false,"pushed_at":"2019-04-30T08:51:29.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-29T12:22:48.518Z","etag":null,"topics":["docx","go","lua","office","ooxml","pptx","xlsx"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erdian718.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":"2019-04-30T04:52:47.000Z","updated_at":"2021-10-04T07:39:51.000Z","dependencies_parsed_at":"2022-09-02T01:51:45.299Z","dependency_job_id":null,"html_url":"https://github.com/erdian718/lmodoffice","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/erdian718%2Flmodoffice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdian718%2Flmodoffice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdian718%2Flmodoffice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erdian718%2Flmodoffice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erdian718","download_url":"https://codeload.github.com/erdian718/lmodoffice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245223857,"owners_count":20580361,"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":["docx","go","lua","office","ooxml","pptx","xlsx"],"created_at":"2024-09-30T16:00:09.749Z","updated_at":"2026-05-02T09:34:29.382Z","avatar_url":"https://github.com/erdian718.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lmodoffice\n\nA simple [Lua](https://github.com/ofunc/lua) module for converting various office documents into OOXML format files.\n\n## Usage\n\n```go\npackage main\n\nimport (\n\t\"ofunc/lmodoffice\"\n\t\"ofunc/lua/util\"\n)\n\nfunc main() {\n\tl := util.NewState()\n\tl.Preload(\"office\", lmodoffice.Open)\n\tutil.Run(l, \"main.lua\")\n}\n```\n\n```lua\nlocal office = require 'office'\n\noffice.toxlsx('path to files')\n```\n\n## Dependencies\n\n* [ofunc/lua](https://github.com/ofunc/lua)\n* [go-ole/go-ole](https://github.com/go-ole/go-ole)\n\n## Documentation\n\n### office.toxlsx(root[, ext1, ...])\n\nConverts all files in the root that has the specified extensions to xlsx format files.\nIf no extension is specified, converts all files in the root.\n\n### office.todocx(root[, ext1, ...])\n\nConverts all files in the root that has the specified extensions to docx format files.\nIf no extension is specified, converts all files in the root.\n\n### office.topptx(root[, ext1, ...])\n\nConverts all files in the root that has the specified extensions to pptx format files.\nIf no extension is specified, converts all files in the root.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdian718%2Flmodoffice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferdian718%2Flmodoffice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferdian718%2Flmodoffice/lists"}