Skip to content

Commit

Permalink
Add danbooru extension
Browse files Browse the repository at this point in the history
- fix: gitignore for jetbrains
- refactor: linting
- fix: remove any() usage
- add screenshots
- remove mention of valid tags
- readme more detailed
- prepare for store
- searchDanbooru command
  • Loading branch information
kaitomomotta committed Dec 2, 2024
1 parent 9ed4e2c commit 6b9ebc8
Show file tree
Hide file tree
Showing 17 changed files with 2,701 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extensions/danbooru/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"root": true,
"extends": ["@raycast"]
}
14 changes: 14 additions & 0 deletions extensions/danbooru/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# Raycast specific files
raycast-env.d.ts
.raycast-swift-build
.swiftpm
compiled_raycast_swift

# misc
.DS_Store
.idea
4 changes: 4 additions & 0 deletions extensions/danbooru/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"printWidth": 120,
"singleQuote": false
}
3 changes: 3 additions & 0 deletions extensions/danbooru/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Danbooru Changelog

## [Initial Version] - {PR_MERGE_DATE}
21 changes: 21 additions & 0 deletions extensions/danbooru/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Danbooru

Search the anime image board Danbooru!

## Why are API keys needed?

All Danbooru API requests must be authenticated. Therefore, in order to use the extension, please go to Danbooru -> My Account -> API Key -> create an API key with at least the permissions `posts:index`, `posts:show`, and `posts:show_seq`. Then enter it along with your username in the extension preferences, or in the popup that opens on first launch of the extension.

### Features

- Search for images
- Filter by tags
- View image details

### Usage

1. Obtain an API key from Danbooru.
2. Configure the extension with your API key.
3. Start searching for images!

For more information, visit the [Danbooru website](https://danbooru.donmai.us).
Binary file added extensions/danbooru/assets/extension-icon.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 extensions/danbooru/metadata/danbooru-1.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 extensions/danbooru/metadata/danbooru-2.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 extensions/danbooru/metadata/danbooru-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6b9ebc8

Please sign in to comment.