Git Product home page Git Product logo

Comments (17)

metacurb avatar metacurb commented on July 24, 2024

Hey @Ayresia , could you possibly explain your issue here? That way if others have the same problem, they'll be able to use the answer from here. Thanks!

from hqt.

Ayresia avatar Ayresia commented on July 24, 2024

I don't know how to setup this up at all. I don't know how to get the keys and where to put them, can you do an video tutorial or come on share screen discord?

from hqt.

metacurb avatar metacurb commented on July 24, 2024

Before you can use this, you'll need to set up your own Google Custom Search, and a Google Custom Search API Key. That information is found in the readme, and is labelled as "Prerequisites"

All you need to do is go to Google Custom Search, and create your own search engine. Make sure you set it to "Search the entire web but emphasize included sites", so that it searches for everything. Under "Details" your Search Engine ID can be found, where there will be a button that reveals it.

Then, you need to get yourself an API key. via the JSON API. Select or create a project, and generate your key.

Copy both of those int your .env file, like so:

GOOGLE_KEY=YOUR KEY HERE
GOOGLE_ENGINE_ID=YOUR ID HERE
BEARER_TOKEN=YOUR BEARER TOKEN HERE

You'll also need your bearer token, which you will need to intercept from the HQTrivia socket connection.

from hqt.

Ayresia avatar Ayresia commented on July 24, 2024

What sites do we have to add?

Sites to add?
In The Google Custom Search.

from hqt.

metacurb avatar metacurb commented on July 24, 2024

If you enter any url (eg. github.com) afterward, enter the control panel for your new search and change the "sites to search" option and delete the URL you added.

from hqt.

Ayresia avatar Ayresia commented on July 24, 2024

How can i get the bearer key, can i use an emulator inorder to get it?

from hqt.

metacurb avatar metacurb commented on July 24, 2024

You'll need to sniff your network traffic on your mobile device, so that you can intercept data being sent to it. The bearer token is sent from their API once you have opened the app.

from hqt.

Ayresia avatar Ayresia commented on July 24, 2024

How can i sniff the network traffic with Android 7.0, i know you have to use charlie but is that possible?

from hqt.

metacurb avatar metacurb commented on July 24, 2024

As far as I'm aware, you won't be able to use Charlie for Android 7+. But please give it a go and report back!

from hqt.

Ayresia avatar Ayresia commented on July 24, 2024

What do i have to name the .env and where should i put it

from hqt.

metacurb avatar metacurb commented on July 24, 2024

The file should literally be called .env, and needs to be in the root of your project.

from hqt.

Ayresia avatar Ayresia commented on July 24, 2024

There is nothing.

from hqt.

Ayresia avatar Ayresia commented on July 24, 2024

image

The touch.env i created it.

from hqt.

metacurb avatar metacurb commented on July 24, 2024

Rename touch.env to .env

from hqt.

Ayresia avatar Ayresia commented on July 24, 2024

I cant, i can only rename it to env.env

from hqt.

metacurb avatar metacurb commented on July 24, 2024

In your terminal, type touch .env, which will create the environment variables file. Inside that place your variables and delete your touch.env file.

from hqt.

Ayresia avatar Ayresia commented on July 24, 2024

Done.

from hqt.

Related Issues (5)

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.