Nice! Could you provide the database content using JSON REST API? We could then have this as a part of Help Browser.
Cheers, Juraj -- Juraj Kubelka > El 14-04-2017, a las 09:30, Dimitris Chloupis <kilon.al...@gmail.com> > escribió: > > Part of my Discord bot as a goal was to add the ability to create database > entries so that people can quickly find documentation. > > It was quite a challenge for me because I had to learn how heroku works, > PostgreSQL and all the other things but I did it!!! > > In any discord channel you have now 3 commands !doc , !docadd , !docremove > > 1) !doc <search_term> > search for a term in the documentation database > eg. !doc pharo > > 2) !docadd <search_term> <content> <tags> <links> > add a new entry to the documentation database > eg. !docadd "pharo" "Pharo is a modern implementation of Smalltalk" > "{'smalltalk','live coding','language'}" "{'squeak','IDE'}" > > 3)!docremove <search_term> > remove a term from database > eg. !docremove pharo > > tags , is for more complex searches in the future, links for sending users to > relevant documentation > > I am also planning to give access to pharo users to the database from inside > the pharo image, if its easy enough to use PostgreSQL from inside Pharo. > Currently the bot is fully coded in python. > > The goal is not to create a full documentation but rather quick help tips for > fast pointing to the right direction. > > This is also an invite to experience pharo devs and newcomers to start adding > to this database. > > The database is PostgreSQL , one of the most populars, I have nothing against > MongoDB , its just that it works better with heroku where I host the > database. But if in the future find a way to do it for free I can move to > MongoDB, but no promises. > > Anyway this was an excuse for me to learn database programming that I had > abandoned 25 years ago (DBASE). > > So have fun with this :)