This is not an another PHP Project, it's me who likes kites.
To start your new PhKite app:
- Install deps with
mix deps.get - Create database and migrate data
mix ecto.setup - Install NPM packages
npm install - Just start this shit ๐ฉ
What it can do (or will do):
- ๐ณ Grab social link and return download link (twitter video, instagram, youtube)
- ๐ณ Convert media from link/file to format (twitter
gifto actual gif, 4chan webm to mp4/gif) - ๐ณ Authorize to save and share results (Twitter/Facebook/Telegram)
- ๐ณ Present actual API for this (get, convert, share)
- ๐ณ Telegram Bot (Maybe)
API Endpoint:
curl -x POST `/api/grab` -d '{"link": "youtube"}'Response:
{"links": link1,link2,...}API Endpoint:
Link
curl -x POST '/api/convert' -d `{"link": "linktotweet", "format": "mp4/gif"}`File
curl -x POST '/api/convert' -d `{"file": true, "format": "mp4/gif"}` --data-binary "file"Response:
{"link": link}Word "Sharing" is implying that You have to authorize in app before uploading to Twitter/FB/Telegram.
And of course You have to know what You are uploading
API Endpoint:
curl -x POST '/api/share' -d `{"id": "result_id", "service": "twitter/facebook/telegram"}`