Ganymede Updated: Search for Mentions

in #radiator7 years ago

Ganymede is a collection of web implementations exploring various ruby scripts and api calls posted on the STEEM blockchain, see:

https://steemit.com/created/radiator

This project is hosted publicly here:

Ganymede, Jupiter's largest satellite, by Voyager 1 on the afternoon of March 5, 1979 from a range of 253,000 kilometers (151,800 miles).

This project also serves to demonstrate a Ruby on Rails project that can access the STEEM blockchain using the Radiator gem.


New Feature

  • Mentions - allows you to search for posts containing specific author names over a certain period of time.
    Example: steem-ganymede.herokuapp.com

Features

  • Discussions
    • Vote Ready - Finds new posts that are ready for voting.
    • Promoted by Third Parties - Posts that have received promotion by someone other than the author.
    • Predicted to Trend - Uses a heuristic library to project the payout of posts (experimental).
    • Flag War - Determines which posts are in the middle of a flag war.
    • On Trending
      • Reputation - Groups trending page by reputation.
      • Flagged - Groups trending page by flags.
      • Ignored - Groups trending page by mutes.
  • Follow - Lists accounts followed/ignored by other accounts.
  • Accounts
    • Upvoted/Downvote - Lists the top voting accounts.
      • Also lets you enter any account to see what their latest votes have been.
      • Download the lists as a text file.
  • ATOM/RSS Feeds - Allows you to follow a particular page to track over time.
  • Support for both STEEM and GOLOS blockchains.
    • Achieved by setting environment variables:
      • API_URL - default: https://node.steem.ws:443
      • DOWNVOTES_JSON_URL - default: https://steemdb.com/api/downvotes
      • FALLBACK_API_URL - default: https://this.piston.rocks:443
      • RSHARES_JSON_URL - default: https://steemdb.com/api/rshares
      • SITE_LOGO - default: https://i.imgur.com/uCaoQzf.png
      • SITE_PREFIX - default: https://steemit.com
  • Easy to host on heroku or as a stand-alone electron app.

Future Features

  • Background processing when RPC takes too long.
  • Optional SteemData integration to MongoDB for even faster loads. You rock @furion!

Install

Quick Installation (standalone)

$ git clone https://github.com/steem-third-party/ganymede.git
$ cd ganymede
$ ./bin/electron-shell.sh

Full Install (Linux)

These steps assume you have no ruby development tools at all. You might want to try the Quick Install if you are already doing ruby development.

First, you'll need git.

$ sudo apt-get install git

Next, you'll need ruby. You can get detailed steps for this on rvm.io.

$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
$ curl -sSL https://get.rvm.io | bash -s stable
$ source ~/.rvm/scripts/rvm
$ rvm install ruby-head
$ rvm use ruby-head --create
$ gem install bundler

You'll also need a proper JavaScript runtime. You might be able to skip this step if you already have one.

$ sudo apt-get install npm

Now, the actual install.

$ git clone https://github.com/steem-third-party/ganymede.git
$ cd ganymede
$ bundle install
$ rails s

Now, browse to localhost:3000

Tests

  • Clone the client repository into a directory of your choice:
    • git clone https://github.com/steem-third-party/ganymede.git
  • Navigate into the new folder
    • cd ganymede
  • Basic tests can be invoked as follows:
    • rake
  • To run tests with parallelization and local code coverage:
    • HELL_ENABLED=true rake

Get in touch!

If you're using Ganymede, I'd love to hear from you. Drop me a line and tell me what you think! I'm @inertia on STEEM.

License

I don't believe in intellectual "property". If you do, consider Ganymede as licensed under a Creative Commons CC0 License.

Sort:  

SteemIt is the best community around the globe so far. As of now the youth of today has been too busy wasting their time onto social networks that add to nothing except wasting precious hours of the day.

Whereas SteemIt is a total different story. You do what you like best BLOGGING and still get paid sitting at your homes.

Nice update @inertia, keep up the god work 💪

It has been years ago when I coded a little bit in ruby, but I rember that there is/was also a way to install gems through a cli - Maybe you can push your tools to this central repo so the users do not need to bundle it on their own?

Are you talking about embedding dependencies in the vendor directory? That's mostly for unmaintained gems or odd situations like when the gem isn't publically available, or when it's imperative to lock the gems/rails versions.

Not generally done, though.

Yes exactly. Ah okay, as I said it has been a while since I coded ruby - Thanks for the clarification @inertia! :)

Another excellent post ! Keep the information coming :D

Upvoted and followed!

Very good information and easy to understand explanation, thanks for great post ... @inertia

Steem on and I'm following you now :)

Awesome brother

Oooh, excelent post man!

The idea of the software was excellent, that way you contribute to the Steemit community.

Looks really good, I hope to one day soon be skilled enough to contribute to this in Ruby.