EN ZH

📝 Dev.to Blog Translation Tool

Use when translating and publishing Dev.to draft articles into English using the Gemini API.

Overview

This skill assists in using the devto-blog-translation-tool to automate the translation of Dev.to draft articles into English while preserving Markdown formatting and technical terms.

When to Use

Core Pattern

Ensure that both DEVTO_API_KEY and GEMINI_API_KEY are properly configured in the .env file before execution.

# Example execution (assuming Go is installed)
go run cmd/translator/main.go

Quick Reference

Key Description
DEVTO_API_KEY API key from Dev.to settings
GEMINI_API_KEY API key from Google AI Studio
go mod download Install required Go dependencies

Implementation

  1. Clone the tool repository: https://github.com/kkdai/devto-blog-translation-tool.
  2. Configure .env with required API keys.
  3. Run go mod download to fetch dependencies.
  4. Execute go run cmd/translator/main.go and confirm the prompt to translate and publish.

Common Mistakes

← Back to Skills