Skip to content

Posts

Kuzzleを使ってみる

Flutter | Kuzzle Documentation から Run Kuzzle | Kuzzle Documentation でバックエンドをローカルで起動する。

$ sudo npm install -g kourou
$ kourou app:scaffold playground
$ cd playground && npm run dev:docker

http://localhost:7512/ でJSONで情報が取得できた。

http://next-console.kuzzle.io/ でAdmin Consoleが表示できるけど、ローカル環境なのに外部を一度経由するのかな。ちょっとこれは気になる。

What is Kuzzle | Kuzzle Documentation

As it is a single-page application (SPA), no data related to your Kuzzle application will pass through our servers, so you can use the online version available at http://next-console.kuzzle.io.

GitHubにローカルでAdmin Console動かす方法も書いてあった。

Read more

Firebase以外のBaaS

Firebase以外のBaaSについて、年初に軽く調べていた。

その時はクラウドサービスを見ていたけれど、OSSのものも見てみた。

SDK

JSGoFlutter
Parse Platformo-o
Supabaseo-o
Kuzzle Backendooo

SDK的にはKuzzleだけど、情報量で見るとSupabaseが有利かな。

Read more

Flutter 3をインストールしてみる

WSL2にインストールしてみる。

Linux install | Flutter

$ cd ~/sdk
$ git clone https://github.com/flutter/flutter.git -b stable
$ export PATH="$PATH:`pwd`/flutter/bin"
$ flutter doctor

Missing "unzip" tool. Unable to extract Dart SDK.
Consider running "sudo apt-get install unzip".

$ sudo apt-get install unzip
$ flutter doctor
[] Flutter (Channel stable, 3.0.0, on Ubuntu 20.04 LTS 5.10.16.3-microsoft-standard-WSL2, locale C.UTF-8)
[] Android toolchain - develop for Android devices
    ✗ Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.

[] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[] Linux toolchain - develop for Linux desktop (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue
      at https://github.com/flutter/flutter/issues.
    ✗ ProcessException: Failed to find "pkg-config" in the search path.
        Command: pkg-config 
[!] Android Studio (not installed)
[] Connected device (1 available)
[] HTTP Host Availability

! Doctor found issues in 4 categories.

とりあえず本体は入ったのでヨシ。

Read more

Flutter 3

[速報]「Flutter 3」登場、FlutterによるmacOSとLinuxアプリ開発が正式版に。Macのユニバーサルバイナリにも対応 - Publickey

MacとLinuxのアプリケーション開発の正式版より、「Firebase plugin for Flutter」のほうが気になった。

これは前に使っていたFlutterFireとは別物?と思ったけど、FlutterFireの説明が「The official Firebase plugins for Flutter.」ってなってるし、https://firebase.flutter.dev/https://firebase.google.com/docs/flutter/setupにリダイレクトされるようになっているので、FlutterFireがFirebase plugin for Flutterに改名したということなのかな。

Read more

harbor試してみた

ローカルサーバーでやってみた。

検索は問題なく導入できて動作も問題なさそうだけど、見た目がだいぶ印象変わってしまうのがちょっと悩ましい。

あと、一覧で日付が出てるのに個別ページに遷移すると日付が出ないのはなぜだろう。デモサイトでは個別ページにも出てるのに。

乗り換えはいったん保留。

Hugoテーマharbor

matsuyoshi30/harbor: Simple and minimal personal blog theme.

このテーマ、全文検索対応しているようなので気になっている。

検索に使われているのはnextapps-de/flexsearch: Next-Generation full text search library for Browser and Node.jsらしい。

flexsearch.jsは日本語だと半角英数字が検索できないとかあるみたいだけど、簡単に使うだけなら問題ないのではないか、問題あったとしても先人の工夫で乗り切れるのではないか。

マークダウンエディター選び

マークダウン部分の入力に使うライブラリを探す。

markdown WYSIWYGをキーワードにnpmを検索した結果、

ということで、editor.jsを試してみようと思う。

Read more