https://github.com/rojenzaman/eksi2json
Get all entries and profile data of an eksisozluk.com user as JSON or UNIX env format.
https://github.com/rojenzaman/eksi2json
archiver eksi eksi-sozluk eksisozluk sozluk turkish
Last synced: 12 months ago
JSON representation
Get all entries and profile data of an eksisozluk.com user as JSON or UNIX env format.
- Host: GitHub
- URL: https://github.com/rojenzaman/eksi2json
- Owner: rojenzaman
- License: mit
- Created: 2021-04-18T14:58:14.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-12T23:40:02.000Z (over 3 years ago)
- Last Synced: 2025-02-27T06:50:19.120Z (over 1 year ago)
- Topics: archiver, eksi, eksi-sozluk, eksisozluk, sozluk, turkish
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eksi2json
Get all entries and profile data of an eksisozluk.com user as JSON or UNIX env format.
## Usage
First install the dependencies:
```bash
npm install
```
and run:
```bash
node eksi2json.js "username"
```
User data will be saved to the `username.json` file.
## JSON Object Structure
```json
{
"entries": [
{
"title": "",
"entry": "",
"date": "",
"link": ""
}
],
"profile": [
{
"quote": "",
"quote_title": "",
"quote_date": "",
"quote_link": "",
"badges": "",
"count": ""
}
]
}
```
## Convert JSON data to UNIX environment file
```bash
json2env.sh username.json
```
and use it:
```bash
. ${epoch}.ENV
```
```bash
for (( i = 0; i < ENTRY_COUNT; i++ )); do
cat <