Giter Club home page Giter Club logo

danbooru's Introduction

Discord codecov

Quickstart

Using Github Codespaces

To launch a Danbooru instance in your browser:

  1. Create a Github account.
  2. Click Open in Github Codespaces.
  3. Click the Create new codespace button.
  4. Wait a few minutes for it to launch.

When it's done, you'll have a new Danbooru instance with a full development environment running in your browser. This way you can try out Danbooru without installing anything on your computer.

See the Codespaces section in the Docker Guide to learn more.

Using Docker

Run this to start a Danbooru instance:

sh -c "$(curl -sSL https://raw.githubusercontent.com/danbooru/danbooru/master/bin/setup)"

This will install Docker Compose and start Danbooru. When it's done, Danbooru will be running at http://localhost:3000.

Alternatively, if you already have Docker Compose installed, you can do:

git clone http://github.com/danbooru/danbooru
cd danbooru
touch .env.local config/danbooru_local_config.rb
sudo docker compose up

When you're done, you can run the following to delete everything:

sudo docker compose down --volumes # Delete all data and images in your Danbooru instance.
sudo docker image prune            # Clean up all unused Docker images.
rm -rf ~/danbooru                  # Delete the Danbooru code.

Installation

See the Docker Guide for more information on running Danbooru using Docker. This is the recommended way to run Danbooru.

Alternatively, you may use the Manual Installation Guide to install Danbooru without Docker. Manual installation is much more difficult than using Docker, and therefore is not recommended or officially supported.

For help, ask in the #technical channel on the Danbooru Discord, or in the discussions area on Github.

Services

Danboou depends on a couple of cloud services and several microservices to implement certain features.

Amazon Web Services

The following features require an Amazon AWS account:

  • Pool history
  • Post history

Google APIs

The following features require a Google Cloud account:

  • BigQuery database export

IQDB Service

IQDB integration is delegated to the IQDB service.

Archive Service

In order to access pool and post histories you will need to install and configure the Archives service.

Reportbooru Service

The following features are delegated to the Reportbooru service:

  • Post views
  • Missed searches report
  • Popular searches report

Recommender Service

Post recommendations require the Recommender service.

danbooru's People

Contributors

bapabooiee avatar bipface avatar brokeneagle avatar dcrow avatar dependabot[bot] avatar eltociear avatar evazion avatar ghostrigger avatar giantfrog avatar glassedsilver avatar hdk5 avatar kittey avatar kxz avatar lightforger avatar lllusion3469 avatar mseymour avatar namelesscontributor avatar nonamethanks avatar nottalulah avatar pokeball99 avatar r888888888 avatar randuin avatar sal-n avatar smowtenshi avatar thayol avatar tokst avatar type-kun avatar vpenso avatar xiaody avatar zatchii 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  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

danbooru's Issues

Upload returning error

Returning the error:

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

Password not being saved

Just updating the issue.

It seems passwords are not being saved leaving a blank password requirement.

Forum search function returning error

Currently after filling in the criteria and clicking search you receive this error:

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

Comment function issues

This is what I found so far:

  • No response when the 'Reply' function is attempted.
  • Cannot show hidden comments in http://testbooru.donmai.us/comments (tries to load, but nothing happens.)
  • Not exactly an issue since it can be made to work, but linking doesn't work. Direct linking doesn't, but as you might already have seen from F.I.A's comment, it ineeds (a href) (/a) function.
  • Bullet points and auto-numbering functions do not seem to work, unless I'm doing it wrong.

Case sensitive tags

Was testing blacklist/favorite and blacklisting food works but not Food. While this is the current functionality should tags be made case insensitive or just automatically forced lowercase?

User profiles need table, thumbnails

User profiles waste space as is; everything should be put in a table like the old Danbooru. Not having thumbnails of your uploads, favorites, etc... is also regrettable....

Hot function currently broken

Just returning the error:

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

Unable to change tag types

I can't change tag types, assuming they exist. There's no Edit option on the Tag page, and "copy:touhou" just adds "copy:" as a tag.

Post functions

Post #1

  • Reply atm seems dead.
  • Vote up and down seems to not have any effect.
  • Wiki link within comments is giving an error.
  • Favorite does nothing atm.
  • Changing ratings works but the rating does not seem to show up anywhere.

Pools

  • Click the save button after reordering a pool gives this error

window.location.href = "/pools/1";

  • Deleting images from the pool does not seem possible atm.
  • Clicking posts under pools gives "nobody but us chickens".

Trying to create a new user (with a name that already exists) issue

When creating a new user who's name is already taken, it very quickly skips the registration screen that shows the error itself.

ie.

  1. Click signup -> Registration screen with the account type info
  2. Click continue -> Registration screen to fill in account info
  3. Click create user -> Registration screen with the account type info
  4. Click continue -> Registration screen to fill in account info (with the name taken error) -> Registration screen with the account type info (after less then a second).
  5. Click continue -> Registration screen to fill in account info (step 2).

issue 52 error update issue

Related to issue #52.

When clicking any other link before the error in issue 52 would have appeared (10 seconds) all other links will generate the "were sorry" error (even after clicking the back button after the error is generated).

Translation note issues

Currently the font and link functions for the translation note of http://testbooru.donmai.us/posts/1 don't seem to be working. This is what the note shows for me:

なに Princess peachy Bold Ident Big Blue Size 1 Translation Note Code

Translation box does not show up when 'Translate' is clicked. The 'Translate' button simply disappears when I do it. Also, I don't know if it's intended but the translation note box shows up at a wrong place outside the image for me.

Comments (link) threshhold issue

When clicking the comments link after setting your threshold to a level that causes all comments to become invisible the "x more comments" link displays nothing.

Also clicking the "10 comments below threshold" link displays all the comments.

ie post #1.

  1. Set comments threshold to 500
  2. Click comments
  3. Click "4 more comments" and nothing happens
  4. Click "10 comments below threshold" and all 14 comments show up.

Adding email via profile

Created a new user and left the initial email blank. When trying to add it via profile edit I get the "We're sorry, but something went wrong." error when I hit submit.

Unable to add to pool using "pool:XXX" syntax

Trying to add a post to a pool by sticking pool:XXX in the tag list has no effect. Also, using the Pool link in the sidebar, if you click Select with a blank text field, you're sent to a "The page you were looking for doesn't exist" page.

Reply button placement (forum)

Currently the normal reply button is located in the menu (help | reply edit) which is awkward and might be better if moved to below posts.

The '/wiki_pages' and '/forum_topics' resources are inconvenient to navigate to

A lot of the time, I navigate REST-based websites by typing, for example, somesite.com/wiki into the address bar. If the names of a site's resources are carefully chosen, it works well with muscle-memory.

Danbooru2, however, has a few resources that are inconvenient to navigate to using this method. Namely:

  • /wiki_pages
  • /forum_topics
  • /site_map

I don't want to type those out. The following should either redirect to, or be custom mappings for the above:

  • /wiki
  • /forum
  • /sitemap

Moderate link issue

Clicking moderate on top of the main page after about 10 seconds gives the "were sorry" error

Fallback alternative for the ImageResizer

There are a ton of OSX Ruby users and the ImageResizer is a pain and a half to try and get working on a standard Mac environment. There should be a fallback on this module since the image resize time generally isn't a huge concern.

Resize blank option

Minor but you can choose a "blank" option when setting the resize options under your user profile.

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.