Skip to content
@Hyuuganatsu

日向夏

We develop AI-enabled bots.

Hyuuganatsu Project

Hi! This project is still under construction. You can visit 日向夏Web to try the functionalities!

What does the Hyuuganatsu Project do?

It's a comprehensive project to make it easy for anyone to play with AI functionalities. We currenty have web and QQ bot as user-end, and super-resolution, text-to-speech, stable-diffusion as behind-the-scene magic.

Project structure

There will be 5 repos, where 2~5 are submodule of the first one.

  1. hyuuganatsu_project: The top-level entrypoint for building and deploying.
  2. orenji_bot: The QQ bot user interface.
  3. backend: The web backend, handling requests from QQ bot.
  4. worker: The worker for backend, who really casts spell (deep learning computation).
  5. stable_diffusion: The standalone service who provides anime image generation.
  6. frontend: The web frontend, written with React. Also holds the reversed proxy.

Project diagram

graph TB;
  classDef service fill:#fc9
  classDef subService fill:#f96
  subgraph hyuuganatsu_project
    direction TB

    orenji_bot:::service
    backend:::service
    redis:::service
    worker:::service
    stable_diffusion:::service
    frontend:::service
    flask_app:::subService
    react_app:::subService
    
    subgraph frontend
      direction LR
      nginx
      react_app
    end
    subgraph orenji_bot
      direction TB
      bot_services[[super_resolution<br />stable_diffusion<br />text_to_speech<br />twitter_preview<br />link_preview<br />exchange_rate_remineder<br />setu_client<br />help<br />random_setu]]
    end
    subgraph backend
      direction LR
      
      setu_warehouse[(setu_warehouse)] --- flask_app
      subgraph flask_app
        direction TB
        flask_services[[super_resolution<br />text_to_speech<br />stable_diffusion<br />image_warehouse]]
      end
    end
    subgraph redis
    end
    subgraph worker
      direction LR
      worker_consumes[[tf_setu_distinguisher<br />pytorch_super_resolution<br />pytorch_text_to_speech]]
      standalone_service[[forward_stable_diffusion]]
    end
    subgraph stable_diffusion
    end

    orenji_bot --- flask_app
    flask_app ---|celery task| redis
    redis ---|celery task| worker_consumes
    redis ---|celery task| standalone_service
    standalone_service --- stable_diffusion

  end
  subgraph Legend
    service_in_Docker:::service
    
    service_in_Docker[service_in_Docker]
    services[[services]]
    external([external])
    userend{{userend}}
  end
    
  browser{{browser}} <--> nginx
  nginx ---|/api| flask_app
  nginx ---|/| react_app
  mirai([mirai]) <--> orenji_bot
  orenji_bot <--> lolicon([lolicon])
  QQ{{QQ}} <--> mirai

  click mirai href "https://github.com/mamoe/mirai"
  click lolicon href "https://api.lolicon.app/#/setu?id=size"
  click QQ href "https://im.qq.com/index/"
  click redis href "https://redis.io/"

  %% click backend href "https://github.com/Hyuuganatsu/backend"
  %% click orenji_bot href "https://github.com/Hyuuganatsu/orenji_bot"
  %% click worker href "https://github.com/Hyuuganatsu/worker"
  %% click stable_diffusion href "https://github.com/Hyuuganatsu/stable_diffusion"

Loading

Popular repositories Loading

  1. orenji_bot orenji_bot Public

    QQ bot, equipped with nlp and cv models.

    Python 7 1

  2. .github .github Public

Repositories

Showing 2 of 2 repositories
  • .github Public
    Hyuuganatsu/.github’s past year of commit activity
    0 0 0 0 Updated Oct 1, 2023
  • orenji_bot Public

    QQ bot, equipped with nlp and cv models.

    Hyuuganatsu/orenji_bot’s past year of commit activity
    Python 7 1 1 0 Updated Mar 2, 2023

Top languages

Loading…

Most used topics

Loading…