Comments (12)
Hi man,
I didn't get the first point.
For the second point. Why not. The tool is not really complicated thought, so the added value may not be hight capared to the work required to setup a decent i18n architecture (remember it runs on bottle).
from 0bin.
If we can remove the python backend and use a single HTML template file or even JST, it could be really easy to create fr.html en.html and de.html with the specific JST translated.
We could also use a javascript dictionnary to handle the translation.
from 0bin.
Bottle already comes with a template language and using only python is
what make 0bin so easy to deploy (nothing to install on mac or linux,
just unzip and run the embeded server). Ease of use is really important.
We can add translation on bottle (we do have to do it be hand I
beleive). My question is more about "is it worth it" ? Cause it's not a
complicated software, I can't imagine how 3 buttons in english would
prevent somebody interested in 0bin from using it.
I may be wrong, and if more people tell me we should translate it, then
it should be done.
We could also switch from jQuery to http://angularjs.com/. It will make
tu application more fluid, will turn the Python code into a pure JSON
backend and provides i18n facilities. And if we make a server pluggable
server backend, then your idea of using an external service to store
the data will be as easy as switching the backend.
I will require a lot of work though. I'm not ready to do this right now.
Le jeu. 31 janv. 2013 11:51:14 CET, Natim a écrit :
If we can remove the python backend and use a single HTML template
file or even JST, it could be really easy to create fr.html en.html
and de.html with the specific JST translated.We could also use a javascript dictionnary to handle the translation.
—
Reply to this email directly or view it on GitHub
#23 (comment).
from 0bin.
I think that his first point was to add comments (discussion), just like in ZeroBin (PHP).
Is this a planned feature ?
from 0bin.
I think we could implement this with DisqUs. Do you mind doing a PR @ArthurHoaro ?
http://disqus.com/
from 0bin.
Nope, I was just asking. I barely know Python actually. :)
But I won't use Disqus, nor Facebook/G+ comments. I like to own my data.
from 0bin.
Ok so we should implement everything inside even the url shortener.
from 0bin.
Actually we can't implement the URL shortener because it would mean that we detail the key on the server, which is precisely what we want to avoid. Remember: 0bin first goal is to protect the host, not the user.
As for comments, this was a planned feature but we decided not to implement it: we though we woudn't use such a feature. However, if somebody comes with a PR for this, I'm ok with it.
We could make the comments this way :
- javascript only
- paginated using javascript
- pluggable (so one may use disqu he he wants to spare his server, we should be able to encrypt / decrypt these on the fly)
What do you think ?
from 0bin.
So basically you would like a comment to be a paste linked to the first one and encrypted with the same key?
from 0bin.
No it should be stored in the same file (if we use the local backend and not discuss) and have some different properties that a paste : no coloration, a generated avar with hashviz on the IP and auto linking of the URL. But yes, it should be encrypted with the same key, otherwise there is no point.
from 0bin.
Ok understood.
Could you rename the ticket please?
from 0bin.
I'll open a new one.
from 0bin.
Related Issues (20)
- [Feature request] Link "copy URL to clipboard"
- How to build from source and start a local server? HOT 5
- --version does not work
- document admin feature
- Security concern HOT 4
- insecureHash HOT 1
- How could I disable console logging? HOT 4
- 0bin.net parked HOT 1
- unable to start or setup
- 0bin.net - Down? HOT 5
- Can't disable `Never expire` option HOT 1
- Website unreachable HOT 2
- Replace the `øbin.net` by our own HOT 1
- Website not receiving pastes HOT 3
- Website not allow paste to upload
- Frontend is running in dev mode
- Server returns 502 Bad Gateway HOT 1
- 0bin.net is taking too long to respond. HOT 1
- 0bin.net is down? HOT 2
- Is the 0bin.net data all lost? HOT 1
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 0bin.