vunhan / fortune-vn

Fun quotes for Vietnamese developers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

Table of Contents

Description

This project is to collect fun quotes from/by/to Vietnamese developers. Let's make our tough life fun.

Usage

With fortune

We compile a stable version of all quotes in the file fortune-vn. You generate a binary form for this file as below

$ strfile -c "%" fortune

New file fortune-vn.dat will be created and you can use them as below

$ fortune fortune-vn

With cowsay

You can pipe output from fortune to cowsay:

$ fortune fortune-vn | cowsay

cowsay is not maintained anymore. On some distribution (e.g, ArchLinux) the program may not handle utf-8 strings correctly. If that's the case, please install coway from this repository

https://github.com/icyfork/rank-amateur-cowsay

With Twitter

Follow https://twitter.com/fortune_vn. This channel is updated by a bot developed and maintained by @tentamen.

TODO

WIP. Stay tuned. Here is our TODO list.

  • Compiling data/* to fortune(6) data format so you can see our cookies from your terminal, e.g, fortune
  • Having an useful cli tool to get random quote from our data set.
  • Having a simple API to generate quote :)
  • Collecting the first 1k quotes :)

Contributing

Important: Never commit your changes for fortune-vn. This file should be stable and maintained by release engineer.

  1. Take a look at our simple notes
  2. Create a custom file under data/. For example, data/ngoctrinh.txt
  3. Add quotes there. Use % between quotes.
  4. Feel free to add link to the quote. Use http://web.archive.org/ if possible.

The maintainer's environment consists of Ruby, fortune-mod and make programs. Type make all to compile all things and see a random quote.

Feel free to take a look at the sample Makefile.

License

CC BY-NC-ND 3.0

About

Fun quotes for Vietnamese developers


Languages

Language:Shell 61.8%Language:Makefile 38.2%