vikunja-api/README.md

64 lines
3.2 KiB
Markdown
Raw Normal View History

2018-07-25 21:47:26 +02:00
# Vikunja API
> The Todo-app to organize your life.
[![Build Status](https://drone.kolaente.de/api/badges/vikunja/api/status.svg)](https://drone.kolaente.de/vikunja/api)
2018-11-26 21:17:33 +01:00
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](LICENSE)
2018-12-02 02:18:31 +01:00
[![Download](https://img.shields.io/badge/download-v0.5-brightgreen.svg)](https://storage.kolaente.de/minio/vikunja/)
2018-09-20 21:59:43 +02:00
[![Docker Pulls](https://img.shields.io/docker/pulls/vikunja/api.svg)](https://hub.docker.com/r/vikunja/api/)
[![Swagger Docs](https://img.shields.io/badge/swagger-docs-brightgreen.svg)](https://try.vikunja.io/api/v1/swagger)
2018-11-17 00:29:10 +01:00
[![Go Report Card](https://goreportcard.com/badge/git.kolaente.de/vikunja/api)](https://goreportcard.com/report/git.kolaente.de/vikunja/api)
2018-12-16 14:21:32 +01:00
[![cover.run](https://cover.run/go/code.vikunja.io/api.svg?style=flat&tag=golang-1.10)](https://cover.run/go?tag=golang-1.10&repo=code.vikunja.io%2Fapi)
2018-11-17 00:29:10 +01:00
2018-07-25 21:47:26 +02:00
## Features
* Create TODO lists with tasks
* Reminder for tasks
* Namespaces: A "group" which bundels multiple lists
2018-09-18 18:20:39 +02:00
* Share lists and namespaces with teams and users with granular permissions
Try it under [try.vikunja.io](https://try.vikunja.io)!
2018-07-25 21:47:26 +02:00
### Roadmap
2018-11-17 00:29:10 +01:00
> I know, it's still a long way to go. I'm currently working on a lot of "basic" features, the exiting things will come later. Don't worry, they'll come.
2018-12-02 01:49:30 +01:00
* [x] Prioritize tasks
2018-12-01 03:00:57 +01:00
* [x] Subtasks
2018-12-01 00:28:01 +01:00
* [x] Repeating tasks
2018-11-17 00:29:10 +01:00
* [x] Get tasks via caldav
2018-12-02 01:49:30 +01:00
* [ ] Labels for todo lists and tasks
* [ ] Assign users to tasks
* [ ] Attachments on tasks
* [ ] Get all your tasks for an interval (day/month/period)
2018-07-25 21:47:26 +02:00
* [ ] More sharing features
2018-12-01 00:28:01 +01:00
* [x] Share with individual users
2018-07-25 21:47:26 +02:00
* [ ] Share via a world-readable link with or without password, like Nextcloud
2018-11-17 00:29:10 +01:00
* [ ] [Mobile apps](https://code.vikunja.io/app) (seperate repo)
* [ ] [Webapp](https://code.vikunja.io/frontend) (seperate repo)
2018-07-25 21:47:26 +02:00
## Development
2018-10-28 17:11:13 +01:00
We use go modules to vendor libraries for Vikunja, so you'll need at least go `1.11`.
2018-07-25 21:47:26 +02:00
To contribute to Vikunja, fork the project and work on the master branch.
Some internal packages are referenced using their respective package URL. This can become problematic. To “trick” the Go tool into thinking this is a clone from the official repository, download the source code into `$GOPATH/code.vikunja.io/api`. Fork the Vikunja repository, it should then be possible to switch the source directory on the command line.
```bash
cd $GOPATH/src/code.vikunja.io/api
```
To be able to create pull requests, the forked repository should be added as a remote to the Vikunja sources, otherwise changes cant be pushed.
```bash
git remote rename origin upstream
2018-10-28 17:11:13 +01:00
git remote add origin git@git.kolaente.de:<USERNAME>/api.git
2018-07-25 21:47:26 +02:00
git fetch --all --prune
```
This should provide a working development environment for Vikunja. Take a look at the Makefile to get an overview about the available tasks. The most common tasks should be `make test` which will start our test environment and `make build` which will build a vikunja binary into the working directory. Writing test cases is not mandatory to contribute, but it is highly encouraged and helps developers sleep at night.
Thats it! You are ready to hack on Vikunja. Test changes, push them to the repository, and open a pull request.