Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.
/ FileCord Public archive
forked from DiscordWebsite/Txt

[OBSELETE] Discord added built-in feature to preview text files / View .txt files that have been uploaded to Discord

License

Notifications You must be signed in to change notification settings

hnOsmium0001/FileCord

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

txt.discord.website

This site is used to view text files that have been uploaded to Discord. The site is static; the data loading and formatting is performed clientside. Deleting the original file from Discord will also prevent loading it with this site.

Example

Link to a text file uploaded to Discord:

https://cdn.discordapp.com/attachments/147698382092238848/506154212124786689/example.txt

Take the relevant substring (channel id, attachment id, and attachment name):

147698382092238848/506154212124786689/example.txt

Add as a query parameter:

https://txt.discord.website?file=147698382092238848/506154212124786689/example.txt

For raw (non-formatted) output, append &raw=true:

https://txt.discord.website?file=147698382092238848/506154212124786689/example&raw=true

Deprecated use of .txt attachments `file=` is prioritized over the `txt=` parameter, i.e. when both are present, `file=` parameter will take effect.

Link to a txt file uploaded to Discord:

https://cdn.discordapp.com/attachments/147698382092238848/506154212124786689/example.txt

Take the relevant substring (channel id, attachment id, and attachment name):

147698382092238848/506154212124786689/example

Add as a query parameter:

https://txt.discord.website?txt=147698382092238848/506154212124786689/example

For raw (non-formatted) output, append &raw=true:

https://txt.discord.website?txt=147698382092238848/506154212124786689/example&raw=true

Logging format

Additional formatting will occur for lines formatted in the following way:

[Timestamp] Username Up To 70 Chars (optional Discord ID) : Content

Ex:

[October 29, 2018 at 5:37 PM] jagrosh#4824 (123456789012345678) : Hello there

About

[OBSELETE] Discord added built-in feature to preview text files / View .txt files that have been uploaded to Discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.4%
  • HTML 19.1%
  • CSS 17.5%