Skip to content

✨ Template for hosting your own Tenka store.

Notifications You must be signed in to change notification settings

yukino-org/tenka-store-template

Repository files navigation

Tenka Store Template

Base template for creating your own Tenka store.

Prerequisites

Good Practices

  • Use snake case in filenames. (For example, if the site name if animesite.com, use animesite_com in filename)
  • Sort modules in modules/anime or modules/manga according to the type.
  • Icon size must be 96x96.
  • Test your modules.
  • Visit yukino-org/sora for references.
  • Beize documentation can be viewed here. You can always open a pull request containing additional functions if needed.
  • All the predefined utils can be referred here. You can always open a pull request containing additional functionality if needed.
  • Use Beize, Dart and Prettier for VSCode.
  • Keep Dart and packages up-to-date. (Use dart pub upgrade to update)

Usage

Installation

  1. Clone this repository
git clone https://github.com/yukino-org/tenka-store-template.git
cd tenka-store-template
  1. Install dependencies
dart pub get

Creating Modules

  1. Create a module directory in ./modules with same architecture as it's siblings.
  2. Edit the required main.baize file of the module.
  3. Test the module.

Testing Modules

  1. Edit the required test.dart file of the module.
  2. Run the test file using
dart run ./modules/<anime/manga>/<test_filename>/test.dart

Note: You can also run only a specific method by appending --dart-define="method=<method>"

About

✨ Template for hosting your own Tenka store.

Resources

Stars

Watchers

Forks

Languages