Comments (36)
you might need 2gb ram because with the system arra uses 1rb ram leaving 1gb free
from araa-search.
nice!
from araa-search.
btw i will be renaming tailsx soon #67 let me know what you think.
from araa-search.
thanks
from araa-search.
@Extravi Will do! Also, is there some sort of logo for the frontend so I can add it to my homepage?
from araa-search.
i will update the code with once done
from araa-search.
it adds a few things like this
from araa-search.
from araa-search.
I also replaced the background, let me know if you like it. Thanks.
from araa-search.
would you like me to add your instance to the instances list?
from araa-search.
would you like me to add your instance to the instances list?
Yes, thank you! I will change the subdomain to the new name after you decide on one. I personally use Darkreader so I usually don't see the wallpaper, but the blur gives it an elegant look.
from araa-search.
thanks
from araa-search.
i think i will rename to Araa from TailsX
from araa-search.
@Extravi Before you add my instance, the video section on it doesn't even load, it just hangs then times out, any idea why this happens?
from araa-search.
do it load at any point?
from araa-search.
or did it just take some time
from araa-search.
It times out and gives me 504
from araa-search.
did you change the Invidious instance in config?
from araa-search.
Yes, and I also white-listed it.
from araa-search.
i might not have api support on that instance or a working api
from araa-search.
https://yt.artemislena.eu/api/v1/search?q=cat
replace with the instance you want to use and test
from araa-search.
last update with the renaming has some bugs btw so i am working on fixing it in the next update with this (not complete)
trying my best to polish and clean up this project
from araa-search.
@Extravi, it's my Invidious API instance and it works just fine, so the API shouldn't be a problem?
from araa-search.
can I see what you have typed in the configuration file for the api
from araa-search.
also send me a copy of the error on the server
from araa-search.
you can email me privately if you want [email protected]
from araa-search.
alright bugs fixed from yesterdays update everything is all good now
from araa-search.
before updating your instance try it on any of my instances
from araa-search.
from araa-search.
@Extravi, bangs don't work unless you put them at the start of the query. Check this.
from araa-search.
I know about that I think that's how bangs should work idk
from araa-search.
I don't really use bangs so idk
from araa-search.
I don't really use bangs so idk
Realistically, most users will search with their privacy-respecting search engine and if they don't like the results they add a bang at the end of the query, so it makes sense to have it there.
from araa-search.
@Extravi, bangs don't work unless you put them at the start of the query. Check this.
I did that by design; I thought of shebangs you'd see in scripting, and how they always came first at the top of all scripts.
I could possibly try changing it to what you're suggesting, but I don't feel that there's enough of a need to do so right now.
I'm open to hear what anyone else may feel about this.
(Also, thanks for hosting Araa/TailsX/another name pending maybe!)
from araa-search.
@Extravi @TEMtheLEM I have modified the search()
function to have it parse bangs as desired:
if BANG in query:
query += " " # Simple fix to avoid a possible error 500
# when parsing the query for the bangkey.
bang_index = query.index(BANG)
bangkey = query[bang_index+1:query.index(" ", bang_index)].lower()
if SEARCH_BANGS.get(bangkey) is not None:
query = query.lower().replace(BANG + bangkey, "").lstrip()
return app.redirect(SEARCH_BANGS[bangkey].format(query))
# Remove the space at the end of the query.
# The space was added to fix a possible error 500 when
# parsing the query for the bangkey.
query = query[:len(query) - 1]
That way, it will be able to detect the bangs wherever they are, in a query like search !g test !yt
the function will redirect to google and will leave the YouTube bang as it is. My instance currently has the modified code for testing. If there are no bugs please inform me so I can make a pull request.
from araa-search.
does your instance use 1gb ram 2gb ram?
from araa-search.
Related Issues (20)
- suggest improvements and give me ideas pls HOT 13
- Issue/question: what happened to tailsx HOT 2
- Stop using cloudflare for the official instance? HOT 4
- Main instance sometimes doesn't show any result HOT 3
- reCAPTCHA proxy HOT 50
- Plans for adding new search engines HOT 21
- Cloudflare error 523: origin is unreachable on the main instance. HOT 2
- Changes to how requests are made. HOT 46
- Docker domain env HOT 6
- If you're having issues after the update, clear cookies for Araa, and it will be fixed.
- image search does not work with post request HOT 11
- Set default autocomplete to Google? HOT 9
- update to community-made themes HOT 1
- Using httpx to send more requests at once with httpx sessions to further improve speeds and performance HOT 18
- I'm going to replace python requests sessions with httpx sessions so I can use http/2 to improve speeds. This should also make things more scalable because I can send more requests at once if needed. HOT 30
- I am now hosting a YouTube privacy frontend, and the API may be used for video search to speed things up. HOT 12
- Searching Git Repositories HOT 4
- [Feature Request] Redirect to alternatives (ex. Invidious instead of YouTube) HOT 3
- URL and title mismatch HOT 8
- Dates shown instead of description HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from araa-search.