{"id":21811180,"url":"https://github.com/mathieumack/rag.parsers","last_synced_at":"2025-10-08T01:31:38.175Z","repository":{"id":213240830,"uuid":"732631564","full_name":"mathieumack/RAG.Parsers","owner":"mathieumack","description":"Some different file parser that supports transformation to a Markdown format","archived":false,"fork":false,"pushed_at":"2025-01-12T22:14:46.000Z","size":1690,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T22:35:43.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathieumack.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-17T10:35:37.000Z","updated_at":"2025-01-12T22:14:47.000Z","dependencies_parsed_at":"2024-07-10T02:46:59.736Z","dependency_job_id":"25e3962e-ce70-422d-8265-b5cccd825135","html_url":"https://github.com/mathieumack/RAG.Parsers","commit_stats":null,"previous_names":["mathieumack/my.converters.tomardown","mathieumack/rag.parsers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathieumack%2FRAG.Parsers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathieumack%2FRAG.Parsers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathieumack%2FRAG.Parsers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathieumack%2FRAG.Parsers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathieumack","download_url":"https://codeload.github.com/mathieumack/RAG.Parsers/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235669404,"owners_count":19026819,"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-11-27T13:43:38.163Z","updated_at":"2025-10-08T01:31:32.442Z","avatar_url":"https://github.com/mathieumack.png","language":"C#","funding_links":["https://www.buymeacoffee.com/mathieumack"],"categories":[],"sub_categories":[],"readme":"# RAG.Parsers\n\nThis library allow you to parse Word or Excel based documents towards a Markdown format\n\nLibrary created in .NET which read the Word/Excel based documents with openXML/closedXML in order to write the equivalent file in markdown format.\n\n==========\n\n# Onboarding Instructions \n\n## RAG.Parsers.Docx\n\n### Installation\n\n1. Add nuget package: \n\n\u003e Install-Package RAG.Parsers.Docx\n\n2. In your application, you must instanciate a new DocxParser object, and call the method 'DocToMarkdown' with the path of your file to transform it to markdown string: \n\n```c#\n\nvar docxParser = new DocxParser();\nvar filePath = Path.Combine(Environment.CurrentDirectory, \"TestFiles/TestSample.docx\");\n\nvar result = docxParser.DocToMarkdown(filePath);\n\n```\n\nresult value :\n\n```string\n\nMy sample document\nCreation Date:\nLast Revised:\nVersion:1.0\n## Index\n### Sub Index \n#### Sub Sub Index\n**Something bold**\n*Something italic*\n***Something*** ***bold in italic***\nSomething either **bold** OR *italic*\nIn **the** middle, [An hyperlink to ChatGPT](https://openai.com/chatgpt), but *nothing*\n|First Cell header|||\n|---|---|---|\n||||Middle Cell 1|\n|Middle Cell 2||||\n||||Last Cell|\n\n|-|-|-|-|\n|---|---|---|---|\n|Test1||||\n|||||||\n|||||||\n||||||Test final|\n\n```\n\n## RAG.Parsers.Xlsx\n\n### Installation\n\n1. Add nuget package: \n\n\u003e Install-Package RAG.Parsers.Xlsx\n\n2. In your application, you must instanciate a new XlsxParser object, and call the method 'ExcelToMarkdown' with the path of your file to transform it to markdown string: \n\n```c#\n\nvar xlsxParser = new XlsxParser();\nvar filePath = Path.Combine(Environment.CurrentDirectory, \"TestFiles/TestSample.xlsx\");\n\nvar result = xlsxParser.ExcelToMarkdown(filePath);\n\n```\n\nresult value :\n\n```string\n\n# Worksheet \"First tab\"\n\n||A|B|C|D|E|F|G|H|I|J|\n|---|---|---|---|---|---|---|---|---|---|---|\n|**1**|This is a test|some cell filled||||||||||\n|**3**||||||||||also here||\n|**7**||||an other one here||||||||\n|**12**|last one here|||||||||||\n\n# Worksheet \"An other tab\"\n\n||A|B|C|D|E|F|G|H|\n|---|---|---|---|---|---|---|---|---|\n|**1**|First cell in second tab|||||||||\n|**3**||With a tab||||||||\n|**4**||||Header first|Colonne2|Colonne3|Header last|||\n|**16**||||||||toto||\n\n```\n\n\n# Support / Contribute\n\nIf you have any questions, problems or suggestions, create an issue or fork the project and create a Pull Request.\n\nYou want more ? Feel free to create an issue or contribute by adding new functionnalities by forking the project and create a pull request.\n\nAnd if you like this project, don't forget to star it !\n\nYou can also support me with a coffee :\n\n[![\"Buy Me A Coffee\"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/mathieumack)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieumack%2Frag.parsers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathieumack%2Frag.parsers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathieumack%2Frag.parsers/lists"}