Code Monkey home page Code Monkey logo

geeksay's Introduction

geeksay

Build Status npm version npm downloads npm bundle size This project is using Percy.io for visual regression testing. open issues closed pull requests contributions welcome

geeks will ctrl+s the world

There's no place like 127.0.0.1

sometimes, i just need a <br>

This is a website to find geeky and cheesy phrases to send to your Loved Ones, and I am sure they will love em.

You know how sometimes you find these really geeky quotes and wish the world had more of them? Yeah, geeksay fixes that. Try it out at http://geeksay.xyz

πŸ€“ Featured on npm weekly πŸ€“

Install

npm install -g geeksay

Usage

Module

const geeksay = require('geeksay');
console.log(geeksay(`go hard or go home`)); // go hard || go 127.0.0.1
console.log(geeksay(`please make me a sandwich`)); // sudo make me a sandwich

CLI

$ npm install geeksay
$ geeksay copy that // ctrl+c that
$ geeksay to be or not to be, that is the question // to be || ! to be, that is the question

Note: Do not put quotes around the phrase, even if it contains spaces!

npx

$ npx geeksay i was 5 and he was 6 // i was 101 && he was 110
$ npx geeksay sometimes i just need a break // sometimes i just need a <br>

Test

$ npm test

Demo

This is what you actually want, right? Right?? There you go! πŸ‘

geeksay's People

Contributors

aharna avatar ak-codingmaniac avatar ayush-kanduri avatar booligoosh avatar dependabot[bot] avatar dk3775 avatar ferrorenan avatar gaurav-shankar avatar muhammed-moinuddin avatar pavilandoangelo avatar pedramp avatar pragativerma18 avatar preethi900 avatar psalmfill avatar pulkitkhanna1 avatar rakshitdabral avatar rohantheprogrammer avatar romelmahmud avatar sdawka avatar seriouslysean avatar shashwats538 avatar shauniop avatar shubham0812 avatar somijaiswal23 avatar sudhanshusuman avatar swapagarwal avatar theys96 avatar white-devil-21 avatar ziriuz84 avatar zoey-on-github avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

geeksay's Issues

Chrome extension, that will translate page to geek

I think can create simple chrome extension that will have simple switch button/check box, that will allow user to choose if page will be "translated" or not.
What do you think? Should I create separate directory in this project, where I will put extension code?

npm/yarn support

module

implementing exports compability, that user can run it easily in Node env.

if(typeof exports === 'object' && typeof module !== 'undefined' )
 module.exports = geeksay;

package.json

adding package.json file.

npm register

  • registering geeksay as npm module that user can install it by npm/yarn
    npm i geeksay
const geeksay = require('geeksay');
const foo = geeksay('I like geeksay'); // i <3 geeksay

Two word translations not working

The only two word translation currently in geeksay.js is not found: 404. This however will be translated to "! found".

  • Create a function to check for two word translations and give them priority over one word translations.

Need an API?

If you need an API endpoint for translating layman to geek, let me know in this thread.
Feel free to suggest any extra features that you would like to be included in the API.

Create a copy button

We need a copy to clipboard button which automatically copies the translated text to user's clipboard. This button can be placed beside the twitter button and should have style like random text button.

Anyone who wants to work on this can tag me here and get this issue assigned to themself.

unit test implementation

Seems that we don't have unit test here :(

suggestion tests:

  • testing all translations, quotes
  • multi-line
  • inside html tags
  • multilingual notes
  • camelcase
  • markdown format
  • space and half-space chars
  • unicode test
  • ...

Dark Mode

Isn't it a good idea to add dark mode to the site because who doesn't use dark mode?

Update Readme.md for better styling.

I think we should update the readme.md file as it's a bit old now.
Here is the list of things we can do

  • Update the preview (GIF)
  • Add more styling and content.
  • Update images

You can also drop your ideas about this :>

Test for duplicates

Add a test that passes only when all the entries in the translations object are unique.

Geek Ipsum

We can have a Lorem Ipsum generator that mixes up geeksay translations and quotes together with random words.
Just need to make sure to escape any characters that might mess with people's markup like < or >.
Don't have a design for it yet, just probing for interest

Text overflows

Hello.
hoping this is still active,
When putting a big word in the input box (Without any spacing) the text in the output box seems to overflow.
Its a bit unrealistic for an input word that big but on smaller devices it can be an issue with words not that big

Improve the Mobile Responsive Version

Hey, I feel the mobile responsive version of the website is congested. The buttons shouldn't stick with the Geeks Output box as there's no breathable space.
I think the buttons should be below the box.
Also requires some minor tweaks to the responsive version.

1

If you Green Light this issue, can I work on it?

Create a quiz

We can build a quiz that shows the geeky version and the user needs to type the English translation.
DO NOT PROCEED WITHOUT DISCUSSING IT FIRST!
Let's discuss the scope and implementation details in this issue first. I repeat, please don't create a PR before the details are finalized.

Add a CONTRIBUTING.md file

I suggest moving the contributing section from the README to a new contributing file.

Also, since this is a great project for new contributors, it would be nice to see a list of instructions on how to properly contribute to the repo. eg. forking, cloning, pushing, PR, etc.

UI enhancement

Since the whole website is based on dark theme the text and links must be more highlighted and in dark background also.

Handle punctuations

Punctuations like comma should not be considered part of the word while translating, e.g. roses are red, violets are blue should translate to roses are ##ff0000, violets are #0000ff and not roses are red, violets are #0000ff
Screenshot 2019-10-02 22 07 29

Can't detect full stop at the end of the sentance

Sentance without a full stop is detected like this.

Without full stop

Sentance with a full stop is like this.

With Full stop

It is looking bad when the sentence misses the word with a full stop. So I think it's an issue.
If you think the same, please let me work on it.

New system/form for adding new Quotes and Translations

We need to design a new system that can be used to add new translations and quotes more effectively, the current system which we are using can create issues like big file size (geeksay.js), conflicting branches while managing multiple PRs, editing the main file manually every time when we need to add a quote or translations and much more.

Propose your ideas to fix this problems.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.