Code Monkey home page Code Monkey logo

Comments (5)

conwnet avatar conwnet commented on August 11, 2024 2

yes, and I think this is reasonable, let me support it at next version

from github1s.

xcv58 avatar xcv58 commented on August 11, 2024 1

I think it's doable but we need to refactor the code to sync the search state with URL.

from github1s.

welcome avatar welcome commented on August 11, 2024

Hello there!👋 Welcome to the project!💖 Thank you and congrats🎉for opening your very first issue in this project.Be patient while we get back to you.😄

from github1s.

github-actions avatar github-actions commented on August 11, 2024

Hello there theowenyoung 👋

Welcome to github1s !!💖🥳

Thank you and congratulations 🎉 for opening your very first issue in this project. github1s fosters an open and welcoming environment for all our contributors.🌸

Incase you want to claim this issue, please comment down below! We will try to get back to you as soon as we can.👀

Feel free to visit github1s.com. 👩‍💻 If you have any interesting ideas, just open an issue. We would love to hear you and engage in discussions.

from github1s.

Siddhant-K-code avatar Siddhant-K-code commented on August 11, 2024

For Search, we use Sourcegraph GraphQL APIs. Which hits the endpoint: https://sourcegraph.com/.api/graphql with payload:

{
  "variables": {
    "query": "repo:^github\\.com/theowenyoung/blog$ file:content -file:\\.git|\\.svn|\\.hg|CVS|\\.DS_Store|Thumbs.db|\\.crswap|node_modules|bower_components|\\.code-search \"term\" count:30"
  },
  "query": "query ($query: String!) {\n  search(query: $query) {\n    results {\n      __typename\n      limitHit\n      matchCount\n      approximateResultCount\n      missing {\n        name\n        __typename\n      }\n      cloning {\n        name\n        __typename\n      }\n      timedout {\n        name\n        __typename\n      }\n      indexUnavailable\n      results {\n        ... on FileMatch {\n          __typename\n          file {\n            name\n            path\n            __typename\n          }\n          lineMatches {\n            preview\n            lineNumber\n            offsetAndLengths\n            __typename\n          }\n        }\n        __typename\n      }\n    }\n    __typename\n  }\n}"
}

I am not 100% sure that is possible. But there should be some workaround for that.

WDYT? @conwnet @xcv58

from github1s.

Related Issues (20)

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.