Skip to content

Commit

Permalink
Add Threads definition (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
faucetlol authored Mar 5, 2024
1 parent ac94c34 commit 26d9af0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app/logical/sites/definitions/threads.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
type: SimpleDefinition
enum_value: threads
display_name: Threads
homepage: https://threads.net
gallery_templates:
- threads.net/@{site_artist_identifier}
- threads.net/{site_artist_identifier}
username_identifier_regex: "[a-zA-Z0-9_.]{1,30}"
submission_template: https://www.threads.net/@{site_artist_identifier}/post/{site_submission_identifier}
1 change: 1 addition & 0 deletions app/models/artist_url.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def initialize(url_identifier, site_type)
buzzly furrystation toyhouse ychart
manual trello itaku artfol
cohost inkblot bluesky omorashi
threads
].map.with_index { |v, index| [v, index] }.to_h

def self.search(params)
Expand Down
Binary file modified public/icons.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/52-threads.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 26d9af0

Please sign in to comment.