{"id":20137424,"url":"https://github.com/lostdesign/fkncatserver","last_synced_at":"2025-07-29T18:07:00.111Z","repository":{"id":105926193,"uuid":"152723827","full_name":"lostdesign/fknCatServer","owner":"lostdesign","description":"Server for sharing images","archived":false,"fork":false,"pushed_at":"2019-08-02T11:09:25.000Z","size":28,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T09:46:04.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lostdesign.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":"2018-10-12T09:05:17.000Z","updated_at":"2022-11-30T19:13:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f217722-e350-4afe-b967-9c9c4f01e8e3","html_url":"https://github.com/lostdesign/fknCatServer","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/lostdesign%2FfknCatServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostdesign%2FfknCatServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostdesign%2FfknCatServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lostdesign%2FfknCatServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lostdesign","download_url":"https://codeload.github.com/lostdesign/fknCatServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241582555,"owners_count":19985845,"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-11-13T21:27:39.441Z","updated_at":"2025-03-02T23:12:28.406Z","avatar_url":"https://github.com/lostdesign.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fkn-cat-server\nThis is the server with some endpoints to receive images from anytool. It then generates a random url and returns the url to origin.\nThere is no registration or login required, an `api_key` is used to prevent others from uploading images onto your server or deleting them.\n\nI also build a tray app which you can use, just set the `api_key` and manage your images from there. If you want to know more about it, check it out here (link follows)\n\n# Installation\n- clone repo\n- create folder public\n- create folder `i` in `public` or rename the image folder in `config.json`\n- change `API_KEY` in `config.json` to something secret\n\n# Endpoints\n\n| METHOD | URL                 | headers   | body                                     | Description                                                                     |\n|--------| ------------------- |-----------| ---------------------------------------- | ------------------------------------------------------------------------------- |\n| POST   | `/api/v1/newCat`    | API_KEY   | `image` with mime type image             | Uploads new image and returns URL                                               |\n| POST   | `/api/v1/killCat`   | API_KEY   | `filename` string, e.g. `ufugibukew.png` | Deletes image from folder                                                       |\n| GET    | `/api/v1/listCats`  | API_KEY   | -                                        | Lists all uploaded images and returns array of filenames, e.g. `879hfiusdf.png` |\n| GET    | `/api/v1/recentCat` | API_KEY   | -                                        | Lists recently uploaded image and returns the filenames, e.g. `879i545usdf.png` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostdesign%2Ffkncatserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flostdesign%2Ffkncatserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flostdesign%2Ffkncatserver/lists"}