-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
for more consistency 😉
- Loading branch information
Showing
17 changed files
with
4,022 additions
and
4,016 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"trailingComma": "none", | ||
"tabWidth": 2, | ||
"semi": false, | ||
"singleQuote": true, | ||
"jsxSingleQuote": true, | ||
"printWidth": 120 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,46 @@ | ||
# 📦 fxTikTok | ||
|
||
[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/okdargy/fxtiktok) | ||
|
||
Embed TikTok videos and slideshows on Discord with just `s/i/n` | ||
|
||
## Screenshots | ||
|
||
<details> | ||
<summary>Click here to see how fxTikTok looks like</summary> | ||
|
||
| <img src="https://raw.githubusercontent.com/okdargy/fxTikTok/master/.github/readme/compare.png" alt="Video Preview" width="90%" height="90%"/> | | ||
|:--:| | ||
| Comparing `tiktok.com` vs. `tnktok.com` embeds on Discord | | ||
| <img src="https://raw.githubusercontent.com/okdargy/fxTikTok/master/.github/readme/compare.png" alt="Video Preview" width="90%" height="90%"/> | | ||
| :--------------------------------------------------------------------------------------------------------------------------------------------: | | ||
| Comparing `tiktok.com` vs. `tnktok.com` embeds on Discord | | ||
|
||
| <img src="https://raw.githubusercontent.com/okdargy/fxTikTok/master/.github/readme/slideshow.png" height="40%" width="40%" alt="Slideshow Preview" /> | | ||
|:--:| | ||
| Slideshow embeds | | ||
| <img src="https://raw.githubusercontent.com/okdargy/fxTikTok/master/.github/readme/slideshow.png" height="40%" width="40%" alt="Slideshow Preview" /> | | ||
| :---------------------------------------------------------------------------------------------------------------------------------------------------: | | ||
| Slideshow embeds | | ||
|
||
| <img src="https://raw.githubusercontent.com/okdargy/fxTikTok/master/.github/readme/direct.png" alt="Direct Preview" /> | | ||
|:--:| | ||
| Direct image/video support | | ||
| <img src="https://raw.githubusercontent.com/okdargy/fxTikTok/master/.github/readme/direct.png" alt="Direct Preview" /> | | ||
| :--------------------------------------------------------------------------------------------------------------------: | | ||
| Direct image/video support | | ||
|
||
</details> | ||
|
||
## Usage | ||
|
||
Using fxTikTok is easy on Discord. Fix ugly and unresponsive embeds by sending your TikTok link and then typing `s/i/n` | ||
|
||
### How does this work? | ||
|
||
When you send `s/i/n` in Discord, it modifies your most recent message. Specifically, it replaces the first occurrence of the second parameter (`i`) in the message with the third parameter (`n`). | ||
|
||
| Before | After | | ||
|:--:|:--:| | ||
| Before | After | | ||
| :------------: | :------------: | | ||
| t**i**ktok.com | t**n**ktok.com | | ||
|
||
### Using Direct Embeds | ||
|
||
Don't want all that statistic clutter on your embed and only want the video or image? Simply change your URL to `d.tnktok.com` | ||
|
||
| Before | After | | ||
|:--:|:--:| | ||
| Before | After | | ||
| :--------------------: | :------------------: | | ||
| **www**.t**i**ktok.com | **d**.t**n**ktok.com | | ||
|
||
> Alternatively, you can also set `isDirect` to true thru the URL query by adding `?isDirect=true` at the end of your URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.