{"id":15178942,"url":"https://github.com/pjaskulski/lidi","last_synced_at":"2026-02-10T23:03:53.386Z","repository":{"id":95934558,"uuid":"352130060","full_name":"pjaskulski/lidi","owner":"pjaskulski","description":"lidi - a little English-Polish dictionary, MySQL database + Redis + REST API server (Go) + command-line client in Golang (with text to speech thanks to Google API) + desktop client (Go + Fyne toolkit) + docker","archived":false,"fork":false,"pushed_at":"2021-04-29T09:48:49.000Z","size":14361,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T03:46:29.943Z","etag":null,"topics":["docker-compose","fyne","fyneapp","go","golang","htgo-tts","mysql-database","redis-cache","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pjaskulski.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":"2021-03-27T17:06:43.000Z","updated_at":"2021-04-29T09:48:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"d10894ca-101b-434f-85e3-e55efe9f7cff","html_url":"https://github.com/pjaskulski/lidi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pjaskulski/lidi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjaskulski%2Flidi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjaskulski%2Flidi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjaskulski%2Flidi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjaskulski%2Flidi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pjaskulski","download_url":"https://codeload.github.com/pjaskulski/lidi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pjaskulski%2Flidi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271314372,"owners_count":24738161,"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-08-20T02:00:09.606Z","response_time":69,"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":["docker-compose","fyne","fyneapp","go","golang","htgo-tts","mysql-database","redis-cache","rest-api"],"created_at":"2024-09-27T15:42:31.987Z","updated_at":"2026-02-10T23:03:48.359Z","avatar_url":"https://github.com/pjaskulski.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lidi\nlidi - a little English-Polish dictionary, MySQL database + Redis + REST API server (Go) + command-line client in Golang (with text to speech thanks to Google API) + desktop client (Go, fyne).\n\nMySQL database definition + English-Polish dictionary, 10000 words:\n`./database/database.sql`\n\n\n**Docker:**\n\n```\n  1. docker-compose up\n  2. go build -o lidi-client ./cmd/client\n  3. ./lidi-client en house \n  4. ./lidi-desktop\n```\n\n**Or:**\n\nServer:\n\nSetup MySQL manually, database.sql file contains the table definition and data. \ninstall Redis.\n\n`go build -o lidi-server ./cmd/web`\n\n```\nUsage of ./lidi-server:\n  -addr string\n    \tHTTP network address (default \":8080\")\n  -dsn string\n    \tMySQL data source name (default \"web:pass@/dictionary\")\n```\n\nClient:\n`go build -o lidi-client ./cmd/client`\n\n```\nUsage:\n    lidi-client [en|pl|speak|add|update|delete]\n\n  Subcommands: \n    en       Translate from English to Polish\n    pl       Translate from Polish to English\n    speak    Say in English (Google API is used)\n    add      Add new item to dictionary (English=Polish) returns ID\n    update   Update item in dictionary (ID English=Polish)\n    delete   Delete item in dictionary (English=Polish)\n\n  Flags: \n       --version   Displays the program version string.\n    -h --help      Displays help with available flag, subcommand, and positional value parameters.\n    -s --server    Dictionary server address (default: http://localhost:8080)\n    -p --speak     Speak English after translate (en|pl commands)\n    -i --id        show record id\n\n\n  Example:\n    1. Server start: ./lidi-server\n    2. Client query: ./lidi-client en house -p\n                     ./lidi-client add tree=drzefo\n                     ./lidi-client update 16354 tree=drzewo  \n                     ./lidi-client delete 16354\n```\nNote: speak command (and -p flag) use [htgo-tts](https://github.com/hegedustibor/htgo-tts) lib,\nhtgo-tts needs mplayer. \n\n![Screen](/lidi-client.png)\n\nDesktop:\n`go build -o lidi-desktop ./cmd/desktop`\n\n![Screen](/lidi-desktop.png)\n\nNote: server, client and desktop tested on Linux only.\n\nEnglish word list: [The BNC/COCA headword lists](https://www.wgtn.ac.nz/lals/resources/paul-nations-resources/vocabulary-lists).\nTranslation: Google Translate, printed dictionaries, memory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjaskulski%2Flidi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpjaskulski%2Flidi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpjaskulski%2Flidi/lists"}