{"id":19680640,"url":"https://github.com/rojenzaman/eksi2json","last_synced_at":"2025-06-17T22:33:32.081Z","repository":{"id":162169601,"uuid":"359173457","full_name":"rojenzaman/eksi2json","owner":"rojenzaman","description":"Get all entries and profile data of an eksisozluk.com user as JSON or UNIX env format. ","archived":false,"fork":false,"pushed_at":"2022-11-12T23:40:02.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T06:50:19.120Z","etag":null,"topics":["archiver","eksi","eksi-sozluk","eksisozluk","sozluk","turkish"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rojenzaman.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-04-18T14:58:14.000Z","updated_at":"2024-08-12T20:12:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"106923e1-2912-4cc1-8949-0a175de2f5ba","html_url":"https://github.com/rojenzaman/eksi2json","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rojenzaman/eksi2json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojenzaman%2Feksi2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojenzaman%2Feksi2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojenzaman%2Feksi2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojenzaman%2Feksi2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rojenzaman","download_url":"https://codeload.github.com/rojenzaman/eksi2json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rojenzaman%2Feksi2json/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260450076,"owners_count":23011008,"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":["archiver","eksi","eksi-sozluk","eksisozluk","sozluk","turkish"],"created_at":"2024-11-11T18:05:37.692Z","updated_at":"2025-06-17T22:33:27.060Z","avatar_url":"https://github.com/rojenzaman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eksi2json\n\nGet all entries and profile data of an eksisozluk.com user as JSON or UNIX env format.\n\n## Usage\n\nFirst install the dependencies:\n\n```bash\nnpm install\n```\n\nand run:\n\n```bash\nnode eksi2json.js \"username\"\n```\n\nUser data will be saved to the `username.json` file.\n\n## JSON Object Structure\n\n```json\n{\n  \"entries\": [\n    {\n      \"title\": \"\",\n      \"entry\": \"\",\n      \"date\": \"\",\n      \"link\": \"\"\n    }\n  ],\n  \"profile\": [\n    {\n      \"quote\": \"\",\n      \"quote_title\": \"\",\n      \"quote_date\": \"\",\n      \"quote_link\": \"\",\n      \"badges\": \"\",\n      \"count\": \"\"\n    }\n  ]\n}\n```\n\n## Convert JSON data to UNIX environment file\n\n```bash\njson2env.sh username.json\n```\n\nand use it:\n\n```bash\n. ${epoch}.ENV\n```\n\n```bash\nfor (( i = 0; i \u003c ENTRY_COUNT; i++ )); do\ncat \u003c\u003cEOT\n${title[$i]}\n${url_slug[$i]}\n$(echo \"${entry[$i]}\" | base64 -d)\n${link[i]}\n${date_format[$i]}\n$AUTHOR_SLUG\n$AUTHOR\n\n\nEOT\ndone\n```\n\n### UNIX ENV Structure:\n\n```bash\n#META\nAUTHOR=\"\"\nAUTHOR_SLUG=             \nENTRY_COUNT=  \nDATE=          \nQUOTE=\"\"\nQUOTE_TITLE=\"\"\nQUOTE_DATE=\"\"\nQUOTE_DATE_FORMAT=                    \nQUOTE_LINK=\"\"\nBADGES=\"\"\n#EOF META\n\ntitle[i]=\"\"\nurl_slug[i]=\"\"\ndate[i]=\"\"\ndate_format[i]=                    \nlink[i]=\"\"\nentry[i]=\"\"\n\nSTART_DATE=                    \n#EOF FILE\n```\n\n## Convert other formats:\n\n - [eksi2hugo](https://github.com/rojenzaman/eksi2hugo)\n\n## TODO\n\n - Get twitter user name.\n - Get user uploaded images as link.\n - Get title of \"el emeği göz nuru\" entries.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frojenzaman%2Feksi2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frojenzaman%2Feksi2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frojenzaman%2Feksi2json/lists"}