You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
[Feature Request] Option to set allowed extensions #61
This is still a relevant feature request to my eyes :)
I had to manually edit the allowed extensions to make eel work with my transcrypt files (ending up with .py). Something like that would been neat:
@ChrisKnott Great ! As you noticed, I am very motivated by this project. I just pushed the repository where I am playing with Transcrypt and Eel : https://github.com/brumar/tranquille. As I wrote in the README I believe Transcrypt is a very good partner to Eel. Let me know if you have an idea of you would like that I contribute. Maybe some tests should be introduced ? Sorry, this is off-subject concerning the issue :)
Setting the searchIn option would also be really useful for me for typescript files
For example, this is how I handle development/production builds from within the Create-React-App (snippet based on: AnthoniG/eel_react) where an additional option, 'searchIn': ['.tsx', '.ts', '.js', '.html'], would be available:
Also, I think it would be useful to add some clarification to the README that eel uses a regular expression eel.expose\((.*)\) to locate the exposed functions. This tripped me up for a few minutes
Activity
ChrisKnott commentedon Jul 5, 2018
@RadRussianRus the allowed extensions is only for looking for functions that have been exposed, it should still serve .css
EricKotato commentedon Jul 5, 2018
It's strange because local .css wasn't working for me until I commented out this.
brumar commentedon Nov 23, 2018
This is still a relevant feature request to my eyes :)
I had to manually edit the allowed extensions to make eel work with my transcrypt files (ending up with .py). Something like that would been neat:
ChrisKnott commentedon Nov 26, 2018
@brumar sorry for not replying to several good points you've made.
I should have some time soon to work on Eel and I will incorporate this change.
I am hoping to release 1.0 over the Christmas period
brumar commentedon Nov 27, 2018
@ChrisKnott Great ! As you noticed, I am very motivated by this project. I just pushed the repository where I am playing with Transcrypt and Eel : https://github.com/brumar/tranquille. As I wrote in the README I believe Transcrypt is a very good partner to Eel. Let me know if you have an idea of you would like that I contribute. Maybe some tests should be introduced ? Sorry, this is off-subject concerning the issue :)
KyleKing commentedon Dec 31, 2018
Setting the
searchInoption would also be really useful for me for typescript filesFor example, this is how I handle development/production builds from within the Create-React-App (snippet based on: AnthoniG/eel_react) where an additional option,
'searchIn': ['.tsx', '.ts', '.js', '.html'], would be available:Also, I think it would be useful to add some clarification to the README that eel uses a regular expression
eel.expose\((.*)\)to locate the exposed functions. This tripped me up for a few minutes