{"id":25611481,"url":"https://github.com/gocaio/metagopenoffice","last_synced_at":"2025-07-05T23:33:14.388Z","repository":{"id":57538566,"uuid":"183282950","full_name":"gocaio/metagopenoffice","owner":"gocaio","description":"OpenOffice Metadata Extractor for Goca","archived":false,"fork":false,"pushed_at":"2019-04-24T18:50:39.000Z","size":837,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-06-20T17:33:49.838Z","etag":null,"topics":["go","goca","golang","hacking","metadata","openoffice","osint"],"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/gocaio.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-24T18:13:05.000Z","updated_at":"2023-08-31T14:04:53.000Z","dependencies_parsed_at":"2022-09-19T07:30:31.214Z","dependency_job_id":null,"html_url":"https://github.com/gocaio/metagopenoffice","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/gocaio%2Fmetagopenoffice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocaio%2Fmetagopenoffice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocaio%2Fmetagopenoffice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocaio%2Fmetagopenoffice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gocaio","download_url":"https://codeload.github.com/gocaio/metagopenoffice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240101016,"owners_count":19747778,"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","goca","golang","hacking","metadata","openoffice","osint"],"created_at":"2025-02-21T23:19:58.594Z","updated_at":"2025-02-21T23:19:59.119Z","avatar_url":"https://github.com/gocaio.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# metagopenoffice\n\n[![Build Status](https://travis-ci.org/kevinborras/metagopenoffice.svg?branch=master)](https://travis-ci.org/kevinborras/metagopenoffice)\n[![Go Report Card](https://goreportcard.com/badge/github.com/kevinborras/metagopenoffice)](https://goreportcard.com/badge/github.com/kevinborras/metagopenoffice)\n\nOpen Office metadata extractor written in Go\n\nThe main features of metagopenoffice are:\n\n* Read metadata of odt files.\n* Read metadata of odp files.\n* Read metadata of ods files.\n\n## How to use ?\n---\n\n```golang\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\t\"os\"\n\n\t\"github.com/gocaio/metagopenoffice\"\n)\n\nfunc main() {\n\n\tfile, err := os.Open(\"../test/test.odt\")\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\tfile.Close()\n\tcontent, err := gopenoffice.GetMetada(file)\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tfmt.Println(\"Generator: \", content.Meta.Generator)\n\tfmt.Println(\"InitialCreator: \", content.Meta.InitialCreator)\n\tfmt.Println(\"CreationDate: \", content.Meta.CreationDate)\n\tfmt.Println(\"Creator: \", content.Meta.Creator)\n\tfmt.Println(\"Date: \", content.Meta.Date)\n\tfmt.Println(\"Language: \", content.Meta.Language)\n\tfmt.Println(\"EditingCycles: \", content.Meta.EditingCycles)\n\tfmt.Println(\"EditingDuration: \", content.Meta.EditingDuration)\n\tfmt.Println(\"Title: \", content.Meta.Title)\n\tfmt.Println(\"Description: \", content.Meta.Description)\n\tfmt.Println(\"Subject: \", content.Meta.Subject)\n\tfmt.Println(\"PrintDate: \", content.Meta.PrintDate)\n\tfmt.Println(\"Keyword: \", content.Meta.Keyword)\n\tfmt.Println()\n\tfmt.Println(\"PageCount: \", content.Meta.Stats.PageCount)\n\tfmt.Println(\"ImageCount: \", content.Meta.Stats.ImageCount)\n\tfmt.Println(\"ObjectCount: \", content.Meta.Stats.ObjectCount)\n\tfmt.Println(\"ParagraphCount: \", content.Meta.Stats.ParagraphCount)\n\tfmt.Println(\"WordCount: \", content.Meta.Stats.WordCount)\n\tfmt.Println(\"CharCount: \", content.Meta.Stats.CharCount)\n\n}\n```\n\nOutput\n\n```bash\nGenerator:  StarOffice/8_Beta$Linux OpenOffice.org_project/680m66$Build-8852$CWS-sdksample\nInitialCreator:  Jürgen Schmidt\nCreationDate:  2002-12-18T12:28:35\nCreator:  Jürgen Schmidt\nDate:  2002-12-18T12:31:15\nLanguage:  en-US\nEditingCycles:  3\nEditingDuration:  PT2M40S\nTitle:\nDescription:\nSubject:\nPrintDate:\nKeyword:\n\nPageCount:  1\nImageCount:  0\nObjectCount:  0\nParagraphCount:  7\nWordCount:  77\nCharCount:  511\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocaio%2Fmetagopenoffice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgocaio%2Fmetagopenoffice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocaio%2Fmetagopenoffice/lists"}