{"id":22505224,"url":"https://github.com/azer/personal-api","last_synced_at":"2025-08-03T11:32:56.833Z","repository":{"id":12552564,"uuid":"15222817","full_name":"azer/personal-api","owner":"azer","description":"NodeJS API server to publish personal info.","archived":false,"fork":false,"pushed_at":"2014-02-06T10:01:45.000Z","size":169,"stargazers_count":49,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-06T15:59:46.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://api.azer.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-16T10:18:51.000Z","updated_at":"2021-12-16T14:17:19.000Z","dependencies_parsed_at":"2022-09-26T18:40:38.170Z","dependency_job_id":null,"html_url":"https://github.com/azer/personal-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fpersonal-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fpersonal-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fpersonal-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azer%2Fpersonal-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azer","download_url":"https://codeload.github.com/azer/personal-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228531059,"owners_count":17933246,"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":[],"created_at":"2024-12-07T00:16:16.881Z","updated_at":"2024-12-07T00:16:17.578Z","avatar_url":"https://github.com/azer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## personal-api\n\nAPI server to publish personal info. Example APIs: [alperkan.at](http://alperkan.at), [api.azer.io](http://api.azer.io)\n\n```bash\n$ personal-api azer.json\n```\n\n## Install\n\n```bash\n$ npm install -g personal-api\n```\n\n## Usage\n\nCreate a JSON file of your personal info:\n\n```json\n{\n  \"name\": \"Azer Koçulu\",\n  \"email\": \"azer@kodfabrik.com\",\n  \"age\": \"26\",\n  \"gender\": \"male\",\n  \"city\": \"Oakland\",\n  \"hometown\": \"Kalkan\",\n  \"instagram\": \"oakazer\",\n  \"photo\": \"http://farm4.staticflickr.com/3674/8760363780_cdbe567873_o.jpg\",\n  \"favorite food\": \"mantı\",\n  \"favorite show\": \"leyla ile mecnun\",\n  \"religious view\": \"atheist\"\n}\n```\n\nAnd start the server:\n\n```bash\n$ personal-api me.json\n```\n\nRun `personal-api -h` or see `docs/man` for command-line options.\n\n## Running Programmatically\n\n```js\nvar api = require('personal-api')\n\napi.start('me.json', 8000, 'localhost')\n```\n\nYou can customize the output depending on the Accept type:\n\n```js\napi.server.format('/', 'text/plain', function (context, match) {\n  return {\n    contentType: 'text/plain',\n    response: 'Name: ' + context.result.name + ' E-Mail: ' + context.result.email\n  };\n});\n```\n\n## Compatible with cats\n\nIt'll work for cats, as well. Example cat API: [blackbear.api.azer.io](http://blackbear.api.azer.io/)\n\n![](http://distilleryimage9.ak.instagram.com/8ab17022616811e38fb612064f8bfb61_6.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fpersonal-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazer%2Fpersonal-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazer%2Fpersonal-api/lists"}