https://github.com/hako/afto
:package: an automated command-line cydia repo generator/builder and server.
https://github.com/hako/afto
builder cli cydia go golang hoster
Last synced: about 1 year ago
JSON representation
:package: an automated command-line cydia repo generator/builder and server.
- Host: GitHub
- URL: https://github.com/hako/afto
- Owner: hako
- License: mit
- Created: 2016-01-12T15:17:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-06-12T20:39:09.000Z (about 7 years ago)
- Last Synced: 2025-04-12T15:08:22.565Z (about 1 year ago)
- Topics: builder, cli, cydia, go, golang, hoster
- Language: Go
- Homepage:
- Size: 151 KB
- Stars: 14
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# afto [alpha]
_/αυτο/_
[](https://travis-ci.org/hako/afto)



afto is an automated command-line cydia repo generator/builder and server for Cydia tweak developers.
_The name 'afto' comes from the word 'automatic' in greek._
### features
+ Automatic Cydia repo generation.
+ Automatic Cydia repo updating.
+ Cydia repo server testing.
+ Many more.
### install
If you have Go installed you can install `afto` by typing:
`go get github.com/hako/afto/cmd/afto`
This will install the project source code and the `afto` binary.
Release binaries will be provided in the near future.
### requirements:
The only thing you need on your system is:
`dpkg`
You also need at least 1 or more `.deb` files. So that you can test or host your repo.
### usage
```
Usage:
afto new
afto serve [-w | --watch] [-p | --port ]
afto update -r [-f | --file ]
afto [-c | --control ]
afto [-s | --sign ]
options:
-c, --control Specify control file to use.
-p, --port Specify port number for afto.
-h, --help Show this screen.
--version Show version.
commands:
new Generate a new Cydia repo.
serve Serve the Cydia repo.
```
### example
Below is a basic example of how to use afto:
```
afto new example_repo # Generate a new Cydia repo.
afto serve example_repo # Serve the Cydia repo.
or
afto serve -w example_repo # Serve the Cydia repo and watch for changes.
```
###### tip:
You can serve your repo within the same directory without giving it a name:
```
afto new . # Generate a new Cydia repo.
afto serve . # Serve the Cydia repo.
or
afto serve -w . # Serve the Cydia repo and watch for changes.
```
You can visit http://127.0.0.1:2468 to view your newly generated repo, and you can also put this in Cydia to view this in the Cydia iOS app.
### roadmap
see [AFTODO.md](AFTODO.md)
### contributing:
Contributions are welcome. Fork this repo and add your changes and submit a PR.
If you would like to fix a bug, add a feature or provide feedback you can do so in the issues section.
You can run afto tests by using `make test`
and make afto builds by doing `make build`
Make sure you run `make test ; make scrutinise` so that your changes do not cause [go lint](https://github.com/golang/lint) and [go vet](https://golang.org/cmd/vet/) to scream errors at you.
### special thanks:
[@saurik](http://twitter.com/saurik)
[@return](https://github.com/return)
[you???](https://github.com/hako/afto#contributing)
[Haiku Project](https://haiku-os.org)
(_The original package icon used at the top_)
### license
MIT