1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wiki Server on Tomato router?

Discussion in 'Tomato Firmware' started by tji, Sep 3, 2014.

  1. tji

    tji Network Guru Member

    My tomato router is quite a powerful little box, with plenty of storage via USB.. It seems like it could easily host a basic personal wiki. I'm wondering if anyone has done this and has any recommendations?

    The two criteria I thought for a good router-hosted wiki are:

    1. Few dependencies. It gets tough to install linux packages which depend on a lot of large libraries. Ideal is a self-contained binary server.

    2. Data stored in a simple format, e.g. raw text files. I want to be able to easily upgrade firmware versions without breaking the wiki. A simple storage format allows easy transition or export/conversion if necessary.

    Has anyone already solved this?
  2. koitsu

    koitsu Network Guru Member

    Entware would be your choice for most of this, as it offers PHP packages and so on.

    You would need to run a separate webserver for this, e.g. apache or nginx. The built-in Tomato webserver cannot be used for this kind of thing.

    Wiki software is often bloated, has a large amount of dependencies, and performs generally very very badly. Most do not support flat text files -- most require a database (MySQL, PostgreSQL, or sometimes SQLite3). Furthermore, consumer routers are not CPU workhorses, and the USB interfaces are also not high-throughput (meaning the available throughput tends to be lower compared to a desktop PC due to there not being a dedicated USB chip for offloading; it's part of the SoC). I would expect the performance to be awful no matter what. I ran a hosting service for nearly 18 years and maintained documentation by hand because of how absolutely awful wiki software is.

    Likewise it's important to remember that the design and goal of these routers is not to be Linux PCs -- the goal is to forward packets for a local network. Tomato/TomatoUSB is not the equivalent of a flat x86 Linux distro -- the purposes are very different.

    I would instead suggest you get yourself a Linux VPS somewhere for US$5-10/month and use that.
  3. Dark_Shadow

    Dark_Shadow Addicted to LI Member

  4. mstombs

    mstombs Network Guru Member

    Could try
    MoinMoin http://moinmo.in/ which runs on Python and apache (available in entware), ISTR you can develop and run on a PC then move to Linux server.

Share This Page