Go to file
Ben Morrison 5a6691d69b
new screenshot
2019-09-04 17:59:24 -04:00
assets new screenshot 2019-09-04 17:59:24 -04:00
src updated logging test 2019-09-04 14:03:13 -04:00
.gitignore init 2019-08-27 00:17:02 -04:00
.travis.yml update readme & travis config 2019-08-27 23:53:32 -04:00
Cargo.lock now opens $EDITOR to write post body 2019-09-04 13:52:44 -04:00
Cargo.toml now opens $EDITOR to write post body 2019-09-04 13:52:44 -04:00
LICENSE init 2019-08-27 00:14:35 -04:00
Makefile fixed db dir perms 2019-08-29 00:40:07 -04:00
README.md Updated usage info 2019-08-30 18:21:38 -04:00

README.md

clinte   Build Status codecov

Command-line community notice board. Post simple notes for other users to see.

Features

  • Username is tagged based on the executing user
  • Shows the 15 most recent posts in descending order
  • Able to go back and edit your own posts
  • Title <= 30 chars
  • Body <= 500 chars

Screenshot

Installation

Current build dependencies are as follows:

  • rustc/cargo >= 1.36
  • libsqlite3-dev

The installation for the build deps will vary based on your OS (Linux, BSD)

Clone the repository and jump into the directory:

$ git clone git://github.com/gbmor/clinte.git
...
$ cd clinte

Run the makefile and install:

$ make
...
...Done!

$ sudo make install

Usage

Issuing the program name itself will list the currently available posts, like in the screenshot above.

To display the 15 most recent posts:

$ clinte

To make a new post:

$ clinte post

clinte will then ask for the title of the post, and the body. The username will be tagged automatically by your logged-in username, reflecting its intended use on multi-user UNIX-like systems.

To edit a post:

$ clinte update

clinte will ask for the ID number of the post. If it's been authored by you, then you will be asked for the new title and body after being shown the previous title and body.

To delete a post:

$ clinte delete

Then clinte asks for the numeric ID of the post to delete.

Contributing

This is very new, so feel free to hack on it in any way you please and submit a PR! I'll be working on it myself over the next several days to flesh it out.