hoboneer / surfraw-elvis Goto Github PK
View Code? Open in Web Editor NEWSurfraw elvi for use on various sites I frequent
License: The Unlicense
Surfraw elvi for use on various sites I frequent
License: The Unlicense
Use Surfraw's opensearch-discover
tool to generate elvi from their opensearch descriptions. Allowing overrides for certain things (e.g., description) would be good too.
Creating a surfraw-tools
program to accomplish this would be good. See Hoboneer/surfraw-tools#18 in the surfraw-tools repo.
This would obviate the dependency on rename
from Perl since all generated elvi would be from a single directory, meaning that they could lose the .elvis
suffix and still be able to be distinguished.
Perhaps the input files (and generated input files, i.e., .gen-in
) could be in src/
while the generated elvi could be in elvi/
. The make rules for generating elvi would need to cd
into elvi/
first though. Maybe mkelvis
could have an -o
or --outfile
option to do this.
It fails otherwise since mkelvis
assumes that directories exist.
Do this in the makefile somehow. Perhaps just document it and leave it to the user?
Some consistency with common variables in makefiles are good.
Good thing the search completion code for the website isn't too hard to find. It uses jQuery, so it's nice and documented.
See https://github.com/ODNZSL/nzsl-online/blob/1a12f4db3c7ee2fb02860c51e9acf20384248570/app/assets/javascripts/base.js.erb#L311 for its autocompletion URL (https://www.nzsl.nz/signs/autocomplete). jQuery says that the source
object property requires that the URL accepts a term
parameter (for the search terms, of course). It's nice that it's a GET
request: I can just use sr W -o "https://www.nzsl.nz/signs/autocomplete?term=$(w3_url_escape $SEARCHTERMS)"
.
See:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.