{"id":25824243,"url":"https://github.com/fuelsoft/flair","last_synced_at":"2025-02-28T12:38:25.104Z","repository":{"id":194710883,"uuid":"287890271","full_name":"fuelsoft/flair","owner":"fuelsoft","description":"A python webserver for easy file transfers","archived":false,"fork":false,"pushed_at":"2020-10-08T13:14:13.000Z","size":20,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-09-14T20:38:01.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fuelsoft.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}},"created_at":"2020-08-16T06:49:47.000Z","updated_at":"2023-09-14T20:38:04.573Z","dependencies_parsed_at":"2023-09-14T20:38:04.390Z","dependency_job_id":"a6677431-df33-4696-9714-b42b3921802c","html_url":"https://github.com/fuelsoft/flair","commit_stats":null,"previous_names":["fuelsoft/flair"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuelsoft%2Fflair","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuelsoft%2Fflair/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuelsoft%2Fflair/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuelsoft%2Fflair/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fuelsoft","download_url":"https://codeload.github.com/fuelsoft/flair/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241150835,"owners_count":19918373,"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":"2025-02-28T12:38:24.432Z","updated_at":"2025-02-28T12:38:25.087Z","avatar_url":"https://github.com/fuelsoft.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flair\n*Half of an AirDrop substitute*\n\n#### What:\nFlair is written with one goal: make it easier to get files off an iPhone/iPad/etc.\n\nPersonally, I hate messing around with cloud file hosting or iTunes file sharing if I want a file from my phone on my computer. \nHowever, I don't own a Mac and can't just AirDrop myself files. This has always been an annoyance.\n\nOne day, I was looking through Workflow/Shortcuts on iOS and noticed there was a block that would send an HTTP request to a server of\nthe user's choosing. It turns out, it's possible to POST a homemade server any file you want from the share sheet with the right\nWorkflow/Shortcuts setup, which is very convenient indeed. \n\nThis is the receiving server. It can create files. \n\n#### Use:\n\nYou can pack as many file operations as you'd like into a single request. \n\nRequests are formatted as JSON. The fields appear as follows:\n\n\t{\n\t\t\"1\": {\t\t\t\t\t\t//must be a unique value for each action listed\n\t\t\t\"TYPE\": \"FILEMOD\",\t\t//always FILEMOD\n\t\t\t\"ACTION\": \"___\",\t\t//one of APPEND, CREATE, WRITE or REMOVE\n\t\t\t\"TARGET\": \"___\",\t\t//filename\n\t\t\t\"EXT\": \"___\",\t\t\t//[optional] file extension\n\t\t\t\"BINARY\": true/false,\t//is data being sent base64 encoded binary?\n\t\t\t\"DATA\": \"___\",\t\t\t//payload\n\t\t\t\"BREAK\": true/false\t\t//[optional] for append operations, add newline after appending?\n\t\t}\n\t}\n\t\n##### Notes:\n\n* REMOVE action is not implemented and may be removed (yeah, yeah) in future - too much potential for destruction\n* TARGET may include extension for simplicity - Workflow has trouble concatenating strings so EXT will be appended if present\n\n## **Warning:**\nThis is intended for secured, local network use only. There is **no encryption or authentication**. Data is sent as plaintext (binaries are base64 encoded).\n\nThis is intentional, it keeps complexity down and limits processing required on the sending end.\n\n**Do not use this over the Internet.**\n\n**Do not use this on public or work networks.**\n\n**Do not share your classified CIA documents with this.**\n\nYou have been warned, this is a **toy**. It will work locally and that's all it was designed to do.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuelsoft%2Fflair","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuelsoft%2Fflair","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuelsoft%2Fflair/lists"}