A modern yet configurable and lightweight wiki
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
WikiTS is a simple declarative way of writing wikis. It features a modern looking yet simple frontend coupled with basic api. WikiTS also comes with a tool helping you convert existing markdown into a WikiTS compatible format. Alternatively you can write the declarations in either json or yaml
All you need is docker
and docker-compose
Or if you don't want to use those you need the following dependencies:
- Node
- NPM
- Typescript
- Angular cli
If you wish to generate the wiki data or convert existing data you need the following:
- Python3
- PyYAML
- Clone the wikiTS
git clone https://github.com/F0xedb/wikiTS.git
- Build the declaration file
python -m generator -j -i yamlfile
# or with a yaml directory
python -m generator -j -i yamldir
- move declaration file to the right location
mv declaration.json api/
- Install api dependencies
cd api
npm install
- Compile api
tsc server.ts
- Launch api
node server.js
- Install angular dependencies
cd wiki
npm install
- Build angular application
ng build
The angular application can now be deployed on a webserver. The files to serve are located in wiki/dist/wiki
- Generate compiled files
# wait for everything to complete
docker-compose -f docker-compose-generate up
- Deploy application
docker-compose up
# Alternatively a traefik V2 example is provided
docker-compose -f docker-compose-traefik.yaml up
Don't forget to change all environment settings. Each file you must edit is shown below:
- api/environment.ts
- wiki/src/environment/environment.ts
Make sure you point all domains to your instance eg localhost or your domain.
You should visit the wikiTS page if you want to see how to use it.
For more examples, please refer to the Documentation
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
F0xedb - tom@odex.be
Project Link: https://github.com/F0xedb/wikiTS