skip to content
Rajiv Harlalka

Spending Winter in an ideal Way

/ 2 min read

Good search results are one of the most basic tasks that a search engine performs. Google is famous for this ability and hence is the most used search engine. But it is afterall the world of technology where things dont stay constant forever. As technology evolves , new and better alternatives emerge.

Felvin is such of this kind. Since Felvin consumes search data from different search engines, it provides a cherry on top what they provide. Providing a better search experience is what Felvin looks forward to .

Topic of Work and Motivation behind it

Looking for code syntax, implemenations and snippets are the daily needs of any developer. This becomes a lot tedious a lot when this simple task requires the user to jump between sites to find relevant data. Making an instant app for Reference Implementation of Code Snippets was the topic that I took up as my project.

Implementation of my work

There exists various open source project where algorithms in various languages have been compiled. Two of them were Rosetta code and The Algorithm. Their code snippets was kept in well maintained directory structure which I used to compile a single json using a js script. After the json was made , much of the task was done.

A simple API service which took the query string and parsing the algorithm and language was enough to look for the specific code snippet. This code snippet was sent over over to the React app(or instant app in Felvin’s terminology) where the input was passed down to the Monaco editor component which rendered on the user’s screen. The main benefit of using the Monaco Editor rather than custom styling a textbox was the inbuilt vscode feature it provides, Code Suggestions

Demo:

Sample Query :here

In short , I spend my winter learning , breaking stuff and building connections with new people around. Thanks to Harsh for providing this opportunity and being a great mentor along the way and Sahil for the consistent much-needed help during the whole time.


Webmentions for this post

1 Mention

  • Webmention Rocks!

    This test verifies that you accept a Webmention request that contains a valid source and target URL. To pass this test, your Webmention endpoint must return either HTTP 200, 201 or 202 along with the appropriate headers. If your endpoint returns HTTP 201, then it MUST also return a Location header. If it returns HTTP 200 or 202, then it MUST NOT include a Location header.

Responses powered by Webmentions