{"id":19697024,"url":"https://github.com/ademozay/lugat","last_synced_at":"2025-04-29T11:32:14.027Z","repository":{"id":62577111,"uuid":"243381055","full_name":"ademozay/lugat","owner":"ademozay","description":"TDK Güncel Türkçe Sözlük için komut satırı arabirimi.","archived":false,"fork":false,"pushed_at":"2020-12-20T12:10:19.000Z","size":852,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T15:04:30.781Z","etag":null,"topics":["alfred","cli","tdk"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ademozay.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":"2020-02-26T22:39:20.000Z","updated_at":"2024-10-10T17:38:19.000Z","dependencies_parsed_at":"2022-11-03T19:05:01.293Z","dependency_job_id":null,"html_url":"https://github.com/ademozay/lugat","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ademozay%2Flugat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ademozay%2Flugat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ademozay%2Flugat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ademozay%2Flugat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ademozay","download_url":"https://codeload.github.com/ademozay/lugat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251494058,"owners_count":21598227,"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":["alfred","cli","tdk"],"created_at":"2024-11-11T19:37:00.077Z","updated_at":"2025-04-29T11:32:13.476Z","avatar_url":"https://github.com/ademozay.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lügat\n\n`TDK Güncel Türkçe Sözlük` için komut satırı arabirimi.\n\n![ön izleme](https://raw.githubusercontent.com/ademozay/lugat/master/lugat.gif \"Lügat\")\n\n## Nasıl Yüklenir?\n\npip (Python 3) ile\n\n```sh\npip install lugat\n```\n\nDocker ile kullanmak isterseniz aşağıdaki fonksiyonu profil dosyanıza(.bash_rc, .zsh_rc vb.) ekleyebilirsiniz.\n\n```sh\nfunction lugat() {\n\tdocker run -it --rm ademozay/lugat $@\n}\n```\n\n## Nasıl Kullanılır?\n\nKomut satırında\n\n```sh\nlugat \u003ckelime, atasözü, deyim vb.\u003e\n\n# Atasözleri, deyimler, birleşik fiiller ve birleşik kelimeler gibi detaylar için\n\nlugat -h \u003ckelime, atasözü, deyim vb.\u003e\n```\n\nPython paketi olarak\n\n```python\nfrom lugat import lookup, LookupException\n\ntry:\n    word        = lookup(search)\n    variations  = word.get_variations() # kelimenin tüm varyasyonları\n\n    for v in variations:\n        print(v.name) # varyasyonun özel ismi\n        print(v.origin) # kelimenin kökeni\n        print(v.meanings) # özellikleri ve örnekleriyle birlikte kelimenin anlamları\n        print(v.compound_words) # ilgili birleşik kelimeler\n        print(v.proverbs) # ilgili atasözleri, deyimler ve birleşik fiiller\n\nexcept LookupException:\n    pass\n\n```\n\n`Alfred` ile\n\n[Lugat.alfredworkflow](\u003chttps://github.com/ademozay/lugat/releases/download/v0.2.0/Lugat.alfredworkflow\u003e)'u indirip kurduktan sonra bir kısayol atamanız gerekecek. \nBen `Option + Shift + L` kombiyasyonunu kullanıyorum. Eğer kısayol atamak istemezseniz, Alfred'e `lügat` yazdıktan sonra yine arama yapabilirsiniz.\n\n`Command + L` kısayolu ile, Alfred ekranına sığmayan tanımları ve kullanım örneklerini `Large Type` ile görüntüleyebilirsiniz.\n\n`Command + Enter` kısayolu ile, ilgili sonuçları terminalde görüntüleyebilirsiniz.\n\nSistemde seçili olan bir kelimeyi direkt olarak aramak istediğiniz takdirde; Alfred kısayolunu ayarladığınız pencerede, `Argument` için `Selection on macOS` seçili olmalı.\n\n[![Lügat | Alfred](https://raw.githubusercontent.com/ademozay/lugat/master/alfred_thumbnail.jpg)](https://www.youtube.com/watch?v=YSDX0bgr5Zk \"Lügat | Alfred\")\n\n*Not: [Alfred](alfredapp.com), yalnızca macOS üzerinde çalışan bir üretkenlik uygulaması, başarılı bir Spotlight alternatifi.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fademozay%2Flugat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fademozay%2Flugat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fademozay%2Flugat/lists"}