Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Threads definition #119

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.