Giter Site home page Giter Site logo

mertd / shovel Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 2.0 3.78 MB

Find scoop manifests instantly from the comfort of your browser. Please use the new search at https://scoop.sh instead!

License: MIT License

HTML 8.19% CSS 1.87% JavaScript 27.47% TypeScript 62.21% Shell 0.27%
bucket gui installer javascript react reactjs scoop search spa typescript windows

shovel's People

Contributors

dependabot[bot] avatar mertd avatar

Stargazers

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

Watchers

 avatar

shovel's Issues

Page freezes as first few characters entered

It would be nice if the search waited a second for you to type in your query otherwise it starts to lag as it searches for the first few characters which have thousands of results, especially noticeable on a mobile browser!

Suggestions, more info details

Hi,

It will be nice if you can put this info on results, consider like suggestions:

  • "Sorting and FIltering" option on top of search results with "Name" and "Newest" criterias.
  • Date manifest publishing (like: two months ago...)
  • License type

And its possible to show a image on results too ? I dont know if scoop support a image refence (screenshots) in manifests.

Support URL query

Hello! I'm not sure if this is intended behavior, but the application doesn't seem to work if the search query has already been set in the URL.

Expected

navigating to https://shovel.sh/search?q=git should display search results for git

Actual

Search results appear for a moment and disappear

Hosting like domain.com/shovel

Hi.
I'm trying to host this like domain.com/shovel instead of domain.com and I'm having issues since I have no experience with react.
I think the places I have to change are:

in App.tsx I think I can add a basepath like this in (ln21) <Router basename="/shovel">
or I can add it each time a path is given:
(ln24) <Route path="/shovel/search"> and
(ln37) <Redirect to="/shovel/search" />

Also, I think I have to change the search behavior since it changes the URL. This is done in search.tsx:
(ln63)history.replace("/shovel/search?q=" + search);

However, nothing is working after an hour or so of trial and error and Stack Overflow searching. I am certain I'm doing something dumb. Can you tell me what it is? I would appreciate it greatly!

Thanks :)

EDIT added line number in search.tsx

Website stuck on loading

When I visit https://shovel.sh/, the loading wheel spins indefinitely. The error console reads: Uncaught (in promise) SyntaxError: Unexpected token in JSON at position 3107130 (asyncToGenerator.js:6)

Generate sitemap or pre-render manifest pages during build

Has to be done after #4

Generate a sitemap entry for every manifest available at build time. Even better, pre-render manifest pages during build.
Without this, search engines have no way to index all manifests for the dynamically generated pages.

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.