PHPackages                             kirainmoe/typecho-to-canvas - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kirainmoe/typecho-to-canvas

ActivePlugin[Utility &amp; Helpers](/categories/utility)

kirainmoe/typecho-to-canvas
===========================

Easily converting data from Typecho to Canvas blog platform.

27PHP

Since Oct 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/kirainmoe/typecho-to-canvas)[ Packagist](https://packagist.org/packages/kirainmoe/typecho-to-canvas)[ RSS](/packages/kirainmoe-typecho-to-canvas/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

typecho-to-canvas
=================

[](#typecho-to-canvas)

Easily convert your blog data from Typecho to Canvas blog platform.

Features
========

[](#features)

- The first "Switch to Canvas" program for Typecho
- Convert data include tags, posts, relationships
- Loading and parsing config automatically
- CLI mode
- Adorable developer

Requirement
===========

[](#requirement)

- Operating permission of server
- PHP version &gt;= 5.6.4
- Composer
- PHP PDO extensions for your database type
- PDO complicant database
- Patient

Usage
=====

[](#usage)

Before converting, you must have Typecho and Canvas installed correctly on converting environment.

### Install via Git and convert

[](#install-via-git-and-convert)

- Clone this repository.

```
$ git clone https://github.com/kirainmoe/typecho-to-canvas
$ cd typecho-to-canvas
```

- Install dependencies. You must have composer worked normally.

```
$ composer install
```

- Run **te2cn**, which lies on the root directory of this repository.

```
$ php te2cn
```

- Follow the instruction and fill in the config.
- Enjoy Canvas!

### Install via Composer and convert

[](#install-via-composer-and-convert)

- Run composer global require.

```
$ composer global require kirainmoe/typecho-to-canvas:dev-master
```

- Run **te2cn**, follow the instruction and fill in the config.

```
$ te2cn
```

- Enjoy Canvas!

#### PS: You can copy Typecho's config file *config.inc.php* to the root directory of this project, *te2cn* will detece and parse the config automatically.

[](#ps-you-can-copy-typechos-config-file-configincphp-to-the-root-directory-of-this-project-te2cn-will-detece-and-parse-the-config-automatically)

Q&amp;A
=======

[](#qa)

Q: How can I know what caused my failure of converting data?

A: After checking your local environment (eg.permission, database), you can open an issue to tell us the trouble you are facing. We will help you with it.

---

Q: I don't use **Typecho** but I use **Wordpress**, how can I export my data?

A: You may consider [this](https://github.com/magnetion/wordpress-to-canvas) or using [typecho2wordpress](https://github.com/panxianhai/typecho2wordpress) first before exporting data to Canvas.

Compatibility
=============

[](#compatibility)

*te2cn* worked perfectly on Typecho 1.0(14.10.10) and Canvas(3.1.0).

Todo
====

[](#todo)

- Reverse converting (Canvas to Typecho)

Contribute
==========

[](#contribute)

Feel free to contribute (Pull requests &amp; issues are welcomed).

License
=======

[](#license)

GNU General Public License v2.0.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12712012?v=4)[Aki](/maintainers/kirainmoe)[@kirainmoe](https://github.com/kirainmoe)

---

Top Contributors

[![kirainmoe](https://avatars.githubusercontent.com/u/12712012?v=4)](https://github.com/kirainmoe "kirainmoe (1 commits)")[![qianlongzt](https://avatars.githubusercontent.com/u/18493471?v=4)](https://github.com/qianlongzt "qianlongzt (1 commits)")

---

Tags

canvasconverterte2canvaste2cntypechotypecho-to-canvas

### Embed Badge

![Health badge](/badges/kirainmoe-typecho-to-canvas/health.svg)

```
[![Health](https://phpackages.com/badges/kirainmoe-typecho-to-canvas/health.svg)](https://phpackages.com/packages/kirainmoe-typecho-to-canvas)
```

###  Alternatives

[usmanhalalit/strana

Pagination library for PHP, framework agnostic, with built-in adapters for Doctrine, Eloquent, Pixie and PHP Array.

957.4k4](/packages/usmanhalalit-strana)[silverware/calendar

SilverWare Calendar Module.

1644.2k1](/packages/silverware-calendar)[bitweb/zf2-cron-module

BitWeb ZF2 module for cron.

1242.5k](/packages/bitweb-zf2-cron-module)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
