iTranslated by AI

The content below is an AI-generated translation. This is an experimental feature, and may contain errors. View original article
😺

App Agent Local Environment Setup [Windows]

に公開
2025/10/25

What is App Agent?

https://app-agent.ai/
Currently, there are two main features.

ASO Improvement:

ChatGPT writes app titles, descriptions, etc., via API, including multi-language support.

Creation of Release Notes:

ChatGPT writes release notes in the target language all at once via API.
Until about a year ago, I was manually copying and pasting release notes for multi-language support, so this is very helpful.

I recently introduced the following extension, but this feels like a superior version of it.
By the way, I was using this tool to bulk-copy "Fixed bug" notes just now.
https://chromewebstore.google.com/detail/magicscript-app-store-con/dibilpekhfnlccjpcgkkancjamoeljcp?hl=ja

What's Great About This Service

For those who have been manually copying and pasting app store descriptions generated by ChatGPT, or manually copying and pasting translations from DeepL for multi-language support...

This service automates those tasks and even supports ASO.
It's a service that can significantly reduce the amount of work done on the App Store.
It's truly wonderful, and they've released it as open source.

I'm looking forward to seeing how many hours I'll save thanks to this service!

For those who find environment setup, maintenance, and operation tedious, there is a paid plan.
It seems to be available in a cloud environment.

https://app-agent.ai/ja#pricing

Steps (Windows)

https://github.com/ngo275/app-agent?tab=readme-ov-file#getting-started

It's exactly as written in this section. I'll explain the parts where I got stuck in detail while following the steps.

1. Clone the repository to your local machine

git clone https://github.com/ngo275/app-agent.git

2. Copy the environment variables in env.sample to .env and fill them in. Mainly enter the API keys etc. used for this service.

cd app-agent
cp .env.sample .env

Filling in the environment variables

GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET

https://zenn.dev/aya1357/articles/bb291f8b4a31cb

RESEND_API_KEY

https://resend.com/api-keys

OPENAI_API_KEY

https://platform.openai.com/api-keys

UPSTASH_REDIS_REST_URL, UPSTASH_REDIS_REST_TOKEN

https://console.upstash.com/redis?teamid=0

Regarding the entry of DATABASE_URL

I made two mistakes here, which caused the following error when running yarn prisma migrate deploy later on.

  1. PostgreSQL was not installed on my PC.
  2. I forgot to create the database.
Error: P1001: Can't reach database server at `postgres`:`5432`

Install PostgreSQL

https://qiita.com/tom-sato/items/037b8f8cb4b326710f71

Start SQL shell (psql)

Press Enter through the prompts and enter the password you set during installation

Once in psql, enter the following command

CREATE DATABASE appagent;

Enter the following in .env

# Postgres DB
DATABASE_URL="postgresql://postgres:Enter_Password@localhost:5432/appagent?schema=public"

3. Install Packages

Installing yarn and node.js on a Windows PC

I'm including this just in case, as they weren't installed on my Windows PC.
■ yarn
https://chore-update--yarnpkg.netlify.app/ja/docs/install

■ node.js
https://gramin.jp/page/programming/advance/install_node-js-for-windows/

yarn

# Or with NPM
npm install

4. Set up the Database

yarn prisma generate
yarn prisma migrate deploy

# Or with NPM
npm run prisma generate
npm run prisma migrate deploy

5. Run

yarn dev

# Or with NPM
npm run dev

After Installation

Log in and create an API key

Paste

Books About Apps

Marketing Books

https://amzn.to/4jq35Xd

I have summarized my personal recommendations for starting app development with Flutter.
I think it's a good idea to read new books for free on Kindle Unlimited.

If you are just starting out, you should avoid reading books written when Flutter was at version 1.x.
The reason is that since Flutter 2.x, a specification called null-safety was introduced, and the way of writing code has changed completely.

I started learning Flutter around the time 2.x was released, and I struggled quite a bit because the information I found was unreliable.

For Beginners 【Free with Kindle Unlimited】

Let's make an app that works on a smartphone! Practical Introduction to Flutter from Zero ①: Let's try making a simple app
https://amzn.to/3yxutNM

Detailed Explanation of Flutter by a Beginner for Beginners
https://amzn.to/39YcpSK

For Intermediate Learners (Covers specific implementation methods and technologies, such as implementing in-app purchases)

Introduction to Flutter Development for the Field
https://amzn.to/3kUXuLv

Discussion