Git Product home page Git Product logo

flexbooru's Introduction

Flexbooru

A booru client for Android, support Danbooru, Moebooru, Gelbooru, Shimmie, etc.

Telegram Discord Donate

CircleCI API Downloads Language: Kotlin License: GPL-3.0

Translate

Click the icon below to translate this app.

Crowdin

Downlad

Screenshot

Thanks to

  • OkHttp: An HTTP+HTTP/2 client for Android and Java applications.
  • Ktor: A framework for quickly creating web applications in Kotlin with minimal effort.
  • Retrofit: Type-safe HTTP client for Android and Java by Square.
  • KotlinxSerializationConverter: A Retrofit 2 Converter.Factory for Kotlin serialization.
  • xmlutil: XML Serialization library for Kotlin.
  • Coil: Image loading for Android backed by Kotlin Coroutines.
  • MaterialDrawer: A drawer with material 2 design.
  • FlexboxLayout: A library project which brings the similar capabilities of CSS Flexible Box Layout Module to Android.
  • PhotoView: Implementation of ImageView for Android that supports zooming, by various touch gestures.
  • SubsamplingScaleImageView: Highly configurable, easily extendable deep zoom view for displaying huge images without loss of detail. Perfect for photo galleries, maps, building plans etc.
  • ExoPlayer: An application level media player for Android.
  • Koin: A pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform.
  • Muzei: A live wallpaper that gently refreshes your home screen each day with famous works of art. It also recedes into the background, blurring and dimming artwork to keep your icons and widgets in the spotlight. Simply double touch the wallpaper or open the Muzei app to enjoy and explore the artwork in its full glory.

flexbooru's People

Contributors

onlymash avatar rewqazxv avatar sakl2012 avatar vvb2060 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flexbooru's Issues

Move ads below image

I'm mostly fine(not really) with ads in a app like this but they often obstruct the image
Screenshot_20211020-135558
Ideally I would like it this way below the image view so it never obstructs the image
Screenshot_20211020-135558~2
Also I would like more payment options I do not trust Alipay or feel like making a account

Vote 1 and 2 caches are not cleared

If search vote:2:myusername and vote img ,the img will in vote 3, but also in vote 2 even though I refreshed, but this won't happen at vote 3, so I think it is a caching problem.

Crashing when activating explicit content

Whenever I activate the showing of explicit content in a Danbooru while logged in crashes the app.
Crasging means directly on start, making usage impossible and resetting only available by completely reinstalling.
Interestingly enough, this seems to be dependent on the order this is done in: When turning off safe mode first, this bug does not occur. However, when first the account is set, and then the safe mode deactivated, this happens.

slow loading

images take time to load

I'm on gelbooru and i tested another booru app and i didn't have this problem but i really like this app

Blurry image previews in Danbooru.

When I'm looking for something in Danbooru, the image previews are blurry, wheras they're not in the website. It's a subtle detail but it's really annoying.

Here's a screenshot to show you what I mean:
Screenshot_20200223-050703_Flexbooru
Please fix it :)

Cannot set download path

Describe the bug
When I enter the settings of an image board (doesn´t matter which one) and navigate to its settings I cannot set a download path in the Advanced / Storage area

To Reproduce
Steps to reproduce the behavior:

  1. Go to any configured image board.
  2. Open its settings.
  3. Expand the Advanced section
  4. Click on Downloadpath in the storage section

Expected behavior
I can configure a download path.

Actual behavior
Nothing happens

Screenshots
video.zip

Device (please complete the following information):

  • Device name: Huawei Mate 20 Pro
  • OS version: Android 10 (Build 10.0.0.180(C432E7R1P5))
  • App version 1.1.10.c874

Additional context
App never has asked for storage permissions (which I would have expected). Also have tried to reinstall the app via playstore.

Update dialog telling me to downgrade

Describe the bug
After installing the 0.9.10 version, whenever I open the app it prompts me to update to 0.9.9.c595
The version numbers are not being compared correctly and it detects 0.9.10 as being lower than 0.9.9.

To Reproduce
Steps to reproduce the behavior:

  1. Update to 0.9.10
  2. Open the app
  3. See wrong popup

Expected behavior
Detecting the version 0.9.10 as being higher than 0.9.9

Device (please complete the following information):

  • Device name: [LG G6]
  • OS version: [Android 8.0.0]
  • App version [0.9.10]

Player audio playing in background even after you swipe

When browse activity displays posts, if its a video and is playing and you swipe to another post, the audio is still playing in the background. So, background audio plays until you have another video post.

To Reproduce

  1. Search for 'animated'
  2. If the post is video with audio let it play while buffering
  3. Swipe left or right; the swiped post should be picture/gif
  4. Audio will be played in the background

Device:

  • Device name: [Samsung M20]
  • OS version: [Pie]

Rule34.paheal.net won't work

I used this app for a while and everything worked perfectly but recently whenever i want to go on rule34.paheal.net no images show up no mather if i refresh or search for something. Thanks in advance

yande.re收藏提示403

Describe the bug
yande.re点收藏提示403

To Reproduce
Steps to reproduce the behavior:

  1. 账号已经登录了
  2. 图片详情页点爱心
  3. 提示403

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot_20210703-130554_Flexbooru

Device (please complete the following information):

  • Device name: 三星s21
  • OS version: 安卓11
  • App version [2.7.7

Additional context
Add any other context about the problem here.

Slideshow feature

I suggest adding a feature to start a slideshow with current search.

Chan.sankakucomplex.com

sankakucomplex website change something again causes flexbooru on popular tab to no longer showing rest of the results.

also posts now showing comics even though nothing wrong show up on chrome

Code 403 on yande.re

Whenever I try to favourite an image from yande.re it shows code 403 error, I have configured the website right, it used to work fine a till 1-2 weeks ago, other websites work fine as well.

I think it might have something to do with authorization as that's what that code usually means.

I have tried reinstalling the app several times and favourites work fine on the yande.re website as well. Idk how to fix this. Please help.

Screenshot_2021-05-14-10-51-35-948_onlymash flexbooru play

Muzei integration stops downloading pictures

Describe the bug
After the rewrite I've had issues getting the muzei integration to work solidly

To Reproduce
Steps to reproduce the behavior:

  1. Go to muzei
  2. Click on +
  3. Add tags
  4. Try the Search button. Everything seems fine. (This is just to make sure it actually loads images)
  5. Add another set of tags
  6. Try the Search button. Still fine. (This is just to make sure it actually loads images)
  7. Muzei displays the last background picture and never shows any new ones

Expected behavior
The app downloads and makes available the last X amount of pictures based on the set tags

Additional context
The only "fix" I've found is to wipe the app completely, reinstall it and then add a new set of tags. This new set of tags will only work for a short while before it stops downloading new pictures, however.

I wish there was a way to see download status, that way it would be much easier to see what is actually going on. Everything here is just guesswork, the only thing I know for sure is that it stops feeding muzei with pictures.

yande.re listing doesn't work

Describe the bug
Added yande.re as Danbooru 1.x server. Seems account login works as I can add own account and it shows account ID, but posts listing throws exception.

To Reproduce
Steps to reproduce the behavior:

  1. Add yande.re as Danbooru 1.x server (see screenshot)
  2. Login into account
  3. Open Posts listing
  4. Observe the error

Expected behavior
Posts listing should load images.

Screenshots
image
image

Device (please complete the following information):

  • Device name: OnePlus 5T
  • OS version: Android 9.0
  • App version: 1.1.10.c874 installed from Google Play Store

Allow to define alternative ports

Describe the bug
When trying to add a server that doesn't serve up a booru on port 80 I can't access it, because it's an invalid hostname.

To Reproduce
Steps to reproduce the behavior:

  1. Add new server
  2. Fill in the IP:PORT of personal development danbooru instance
  3. Ok and checkmark to store settings
  4. See error

Expected behavior
Would love to be able to add my personal instance.

Screenshots
Not needed I think

Device (please complete the following information):

  • Device name: Xperia X F5121
  • OS version: Android 8.0.0
  • App version 2.7.7.c1199

Additional context
In case you are wondering :p
I'm using this old sucker as a LAN-only digital picture frame ;)
(set screensaver to source Flexbooru's download path so it cycles a random selection of my favorite pictures)

Last release adds a ton of trackers

Unfortunately, the latest (2) release(s) added a lot of trackers and proprietary libs:

Offending libs:
---------------
* BillingClient (/com/android/billingclient): NonFreeDep,NonFreeNet
* Crashlytics (/com/crashlytics): Tracking
* Google Ads (/com/google/ads): Ads
* Firebase Data Transport (/com/google/android/datatransport): NonFreeNet
* Android Vision (/com/google/android/gms/vision): NonFreeDep
* Google Mobile Services (/com/google/android/gms): NonFreeDep
* Google Play Core (/com/google/android/play/core): NonFreeNet,NonFreeDep
* Firebase (/com/google/firebase): NonFreeNet,NonFreeDep
* Firebase Analytics (/com/google/firebase/analytics): Tracking

9 offenders.

so I had to remove it from my repo and disable updates for now. I hope this was just an (unintended) accident – so I'm looking forward for a "clean APK" making it possible to re-enable updates. Thanks in advance!

Code 422 on danbooru.

I don't know what causes it to happen. Seemingly at random times, danbooru refuses to load new images when browsing a tag. If this is a tag I have browsed before, it will show me what has loaded previously and refuse to load more when refreshing by swipe down. If this is a tag I have not browsed before, it will give a code 422 with a retry button. Clicking the button never results in any changes.

The issue has now occurred for the second time. The first time, I don't remember the date, it lasted for a couple of days, then started working again. The second time it started on dec. 31 and is still ongoing.

Screenshot_20210103-203056

Device (please complete the following information):

  • Device name: [Honor 8x max]
  • OS version: [Emui 8.2.0 Android 8.1.0]
  • App version [2.6.1c1151]

Better file naming

It is impossible to find the post id based on current file naming.

purposed naming:
booru name+post id
e.g. danbooru_12345678.png

e621.net/e926.net issues

So I was wondering if it was noted that e621/e926 API has changed and flexbooru no longer works with those sites.

Domain issue with Clash for Android

Flexbooru version: 2.6.1c1151 (latest)
Clash for Android version: 2.3.17 (latest)
Android version: 10

Flexbooru doesn't work with the newer version of clash on Android os, which returns nxdomain error.

Edit: Connection issue can be fixed by temporarily disabling DoH in settings.

Some gelbooru boards failing with error

Describe the bug
For example, Furrybooru using gelbooru API, but if it's respond with empty creator_id (creator_id="") in any post, app showing message For input string: "" with retry button.

To Reproduce
Steps to reproduce the behavior:

  1. Add this board to boards list (booru://ZnVycnlib29ydUBAQGh0dHBzQEBAZnVycnkuYm9vcnUub3JnQEBAM0BAQA) [NSFW]
  2. Try to get posts
  3. See error

Expected behavior
Show posts with their previews.

Device:

  • Device name: [Meizu]
  • OS version: [7.1.1]
  • App version [1.19.c851 / downloaded from GP]

Additional context
How i found this?
I just replace response with Charles proxy with single post where creator_id is empty and look what happens (and nothing is happens, just message with button), then i tried to do it again but fill creator_id with 0 (creator_id="0") and post was shown without any messages or errors.
Also tried to replace all empty creator_id with 0 (thanks to notepad++) and return *fixed* response... Aaaand it's working fine! I think it's will be easy to fix.

Idol sankaku

It's seems that requests working like Danbooru 1.x. Logging in working fine with Danboory 1.x schema. But responses for posts looks like for sankaku schema.
API domain: iapi.sankakucomplex.com

One of posts object

It's looks like this:

{
	"width": 1080,
	"in_visible_pool": false,
	"preview_url": "//is.sankakucomplex.com/data/preview/7d/9d/7d9d10d6fe47ea80e45cb765a082dc9b.jpg",
	"file_size": 126600,
	"is_favorited": false,
	"status": "pending",
	"sample_url": "//is.sankakucomplex.com/data/7d/9d/7d9d10d6fe47ea80e45cb765a082dc9b.jpg",
	"has_comments": false,
	"md5": "7d9d10d6fe47ea80e45cb765a082dc9b",
	"vote_count": 0,
	"change": 1073977,
	"recommended_posts": 0,
	"sample_width": 1080,
	"preview_width": 150,
	"source": "",
	"author": "kirirojyo9",
	"created_at": {
		"n": 531474000,
		"json_class": "Time",
		"s": 1566357591
	},
	"has_notes": false,
	"height": 1080,
	"parent_id": null,
	"sample_height": 1080,
	"preview_height": 150,
	"tags": [{
		"type": 8,
		"count": 53752,
		"name": "uncensored",
		"id": 6724
	}, {
		"type": 9,
		"count": 28681,
		"name": "tagme",
		"id": 5584
	}, {
		"type": 8,
		"count": 2082,
		"name": "1:1_aspect_ratio",
		"id": 26191
	}, {
		"type": 1,
		"count": 24,
		"name": "vladislava_661",
		"id": 42167
	}],
	"has_children": false,
	"rating": "q",
	"fav_count": 0,
	"id": 725258,
	"file_url": "//is.sankakucomplex.com/data/7d/9d/7d9d10d6fe47ea80e45cb765a082dc9b.jpg",
	"total_score": 0
}

Can't view explicit/questionable images.

Describe the bug
All searches and the default page show only safe results. When I try to select a certain rating, all results for explicit/questionable images return an empty board.

To Reproduce
This just might be a problem on my side
0. Download app

  1. Open any board
  2. Search rating:explicit

Expected behavior
Explicit results should be returned.

Screenshots
Search result

Device (please complete the following information):

  • Device name: Redmi 7A
  • OS version: Android 9
  • App version: 2.6.1.c1151

Additional context
I have redownload the app and the problem resigns.

Make update optional

Right now flex booru will force the user to update. This is quite annoying on some older devices. And can simply decrease user experience dramatically.

Potential solution: Add a cancel button on the update dialog

Error 422 when searching

Describe the bug
Error 422 when searching

To Reproduce
I am using danbooru.donmai.us with my account logged in.

Way 1

  1. Type something in the search box and press Enter.
  2. See the bug

Way 2

  1. Touch a tag in an image's detail page
  2. See the bug

Expected behavior
Show images as before

Screenshots
Screenrecorder-2020-10-12-16-56-29-88(0)
Screenrecorder-2020-10-12-17-04-49-774

Device (please complete the following information):

  • Device name: [Xiaomi 9]
  • OS version: [MIUI 12 / Android 10]
  • App version [2.5.3.c1142]

Additional context
None

Can't open image directly except for the first one

Cant open image directly except for the first one in line, whether it is in the pools, tags, search results, or home. had to open the 1st image then scroll to the desired image. (if i want to see image #7, i have to open the #1st image, scroll to #2, #3, #4 until #7. directly click the 7th image will do nothing)

device : samsung galaxy note 3
os : android 5.1

safebooru.org preview image does not display properly

Describe the bug
safebooru.org preview image does not display properly.

To Reproduce
Steps to reproduce the behavior:

  1. Create booru config with Gelbooru, safebooru.org.
  2. Save and select the safebooru.org config.
  3. Preview image does not display properly.

Expected behavior
Preview does not display properly.

Screenshots
Screenshot_20200611-082317_Flexbooru
Screenshot_20200611-081508_Flexbooru

Device (please complete the following information):

  • Device name: Samsung Galaxy S20
  • OS version: Android 10
  • App version: 2.5.1.c1137

Additional context
Strangely, safebooru.org from web browser works fine, it only happens to Flexbooru.

Select active boorus on list

If possible make a way to select the active boorus on non paid version, I know everyone needs cash but I don't know if I can put money on a app that is another version of a dead one man... I used to use moebooru a lot, and look what happened.

At most 3 booru websites can be shown

I have added 4 booru websites in correct settings, but there are only 3 websites that can be chosen. The fourth website is not shown and I can't go through its pictures. Restarting the software and the smartphone is tried and nothing goes well. Is it a bug?

Crash on my smartphone

Describe the bug
When I launch Flexbooru, it crashes down. Whether I use VPN or not.

To Reproduce

  1. Luanch Flexbooru
  2. Add danbooru
  3. Click on danbooru
  4. Crash down, and create a *.log file

Expected behavior
Run Flexbooru without crashes.

Device (please complete the following information):

  • Device name: [Xiaomi 9 SE]
  • OS version: [MIUI 11.0.5, Android 9]
  • App version: [1.1.10.c874]

Additional context
This is the file mentioned above.
crash-2020-02-19-13-29-00-1582090140157.log

Save failed! No Access to the current path

Happend in 0.7.2. When i tried to save a picture, image selection dialog will pop up(that have nothing to do with saving image) instead. After (trying to) selected a folder, that error message will appear.

running Android 6.0

Video Playing not possible

Playing Video/Loop files in the webm format is not possible using

Flexbooru 0.8.8
Android 9

A Video Player is displayed, showing a pause button and both current and remaining time on 0:00, after a few seconds (probably after the video is loaded) the pause button is replaced by a play button, however, no interaction is possible nor is the video starting.
This is happening in danbooru, however it seems like a more general problem.

Thank you for your effort

JSON unquoted boolean literal

when i search for certain tags on e621.net i get this error and the Retry button

Unexpected JSON token at offset 62352: Expected start of the unquoted boolean literal. Use 'JsonConfiguration.isLenient = true' to accept non-compliant JSON. JSON input: .....preview.png"},"sample":{"has":null,"height":720,"width":1280.....

note:
for the same search term, this error will have different offsets sometimes but the rest is the same
i tested a few times and got 4012 and 5934 as well as the above 62352
another search term for this error is "webm" without quotes

To Reproduce
Steps to reproduce the behavior:

  1. add e621.net to the booru list with this config
    Name: e621
    Type: Danbooru
    Scheme: https
    Host: e621.net
  2. switch from your current booru to e621
  3. search "animated" without quotes
  4. see error

Expected behavior
i expected to not see this error

Device (please complete the following information):

  • Device name: oneplus 6
  • OS version: android version 10
  • App version 2.0.5.c964

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.