{"id":33603191,"url":"https://github.com/z3ath/malgo","last_synced_at":"2025-12-15T20:56:26.113Z","repository":{"id":57509290,"uuid":"230973605","full_name":"z3ath/malgo","owner":"z3ath","description":":floppy_disk: MyAnimeList XML to SQLite migration utility and Go library — command line tool also available","archived":false,"fork":false,"pushed_at":"2020-02-03T18:08:06.000Z","size":96,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T02:49:24.697Z","etag":null,"topics":["golang","library","migration","myanimelist","sql","sqlite3"],"latest_commit_sha":null,"homepage":"https://github.com/th3-z/malgo","language":"Go","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/z3ath.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-12-30T20:09:03.000Z","updated_at":"2021-01-12T04:47:53.000Z","dependencies_parsed_at":"2022-08-30T07:11:12.203Z","dependency_job_id":null,"html_url":"https://github.com/z3ath/malgo","commit_stats":null,"previous_names":["z3ath/malgo"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/z3ath/malgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z3ath%2Fmalgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z3ath%2Fmalgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z3ath%2Fmalgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z3ath%2Fmalgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z3ath","download_url":"https://codeload.github.com/z3ath/malgo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z3ath%2Fmalgo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27388883,"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","status":"online","status_checked_at":"2025-11-30T02:00:05.582Z","response_time":55,"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":["golang","library","migration","myanimelist","sql","sqlite3"],"created_at":"2025-11-30T11:03:16.592Z","updated_at":"2025-11-30T11:05:16.895Z","avatar_url":"https://github.com/z3ath.png","language":"Go","readme":"# Malgo\n[![Build Status](https://travis-ci.com/th3-z/malgo.svg?branch=master)](https://travis-ci.com/th3-z/malgo) [![Go Report Card](https://goreportcard.com/badge/github.com/th3-z/malgo)](https://goreportcard.com/report/github.com/th3-z/malgo) [![GitHub license](https://img.shields.io/github/license/th3-z/malgo)](https://github.com/th3-z/malgo/blob/master/LICENSE) [![Codecov](https://img.shields.io/codecov/c/github/th3-z/malgo.svg?style=flat)](https://codecov.io/gh/th3-z/malgo)\n\nA MyAnimeList SQL migration utility and Go library.\n\n## Cli exporter usage\n\n* Export your list from MyAnimeList\n* Run `malgo -o anime.sqlite yourAnimeList.xml`\n* Receieve SQLite database `./anime.sqlite`\n\n## Databases\n\nMalgo has so far been tested with the following databases. Let me know if you have success with any of the other database drivers.\n\n* Sqlite3\n\n## Golang examples\n\nThe golang module provides structs and functions for reading and editing the migrated database.\n\n#### Migrate directly from an exported anime list and retrieve series.\n```\nmalgo.storage.CreateSchema(someDb)\nmalgo.MigrateFile(someDb, \"sample.xml\")\n\nuser := malgo.models.SearchUser(someDb, \"th3-z\")\nfor _, review := range user.Reviews {\n    print(review.Series.Name)\n    print(\"\\n\")\n}\n```\n\n#### Datatables example\nA more complex example can be seen on [my public website](https://github.com/th3-z/beta-th3-z-xyz)'s repo. It produces the following table.\n\n![Image of example usage](https://files.th3-z.xyz/standing/malgo.png)\n\n\n## Building\n\nRun `make build` to create a release for the CLI tool in `./bin`.\n\n### Requirements\n\n* Golang 1.13.x\n* make\n* gcc\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz3ath%2Fmalgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz3ath%2Fmalgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz3ath%2Fmalgo/lists"}