# Can ionic run directly from being loaded from a website?

**URL:** <https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164>\
**Category:** ionic-v1\
**Created:** [December 6, 2013, 10:02pm UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164 "2013-12-06T22:02:34Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfinnigan](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jfinnigan](https://forum.ionicframework.com/u/jfinnigan)\
**Post date:** [December 6, 2013, 10:02pm UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164/1 "2013-12-06T22:02:34Z")

</div>

I understand ionic provides platform native functionality for HTML5 applications but would like to know if it can be loaded directly from a website to execute? There’s so much richness in ionic but we won’t have the time to get our application into the apple store in time for our event.

If not, any recommended alternatives/shortcuts/etc. would be appreciated.

---

<div class="post-metadata">

**Author:** ![max](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/max/32/137761_2.png) [@max](https://forum.ionicframework.com/u/max)\
**Post date:** [December 6, 2013, 10:05pm UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164/2 "2013-12-06T22:05:52Z")

</div>

Hey @jfinnigan, it absolutely can. The reason we don’t bill it as a mobile web app framework is more because we don’t have support for all the different mobile browsers out there, and by making the framework work the same in the mobile browser and the native web view, we would have to make concessions to deal with all the strange stuff the mobile browsers add (like the side swiping to switch tabs which makes it hard for us to do our side menu stuff).

However, if you are targeting iOS and recent Android’s, it will work very well.

Does that help?

---

<div class="post-metadata">

**Author:** ![jfinnigan](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jfinnigan](https://forum.ionicframework.com/u/jfinnigan)\
**Post date:** [December 6, 2013, 10:16pm UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164/3 "2013-12-06T22:16:20Z")

</div>

Thanks Max! That’s great news and a sigh of relief.

Where might I find some examples on how to set things up or is it obvious and I’m not getting the point? 😉

Anybody have a examples around using firebase as the backend?

[http://angularfire.com](http://angularfire.com)

Five minutes with them and five minutes with iconic…what a duo!

---

<div class="post-metadata">

**Author:** ![timcash](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@timcash](https://forum.ionicframework.com/u/timcash)\
**Post date:** [December 7, 2013, 1:56am UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164/4 "2013-12-07T01:56:02Z")

</div>

Here is a git repo with the ionic guide + a firebase backend. I just smashed it together so the code is not so great but it is a starting point =). You can add and remove projects and tasks. I would follow the guide ionic provides and then look at this code after. Oh yeah make sure to have a projects object and a Users object under your firebase root. I just manually entered /Users/Tim via the firebase forge

> **[timcash/ionicerror2](https://github.com/timcash/ionicerror2)**
>
> no method pushdown? Contribute to timcash/ionicerror2 development by creating an account on GitHub.

make sure to place your firebase link in the two references I have in app.js

---

<div class="post-metadata">

**Author:** ![jfinnigan](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jfinnigan](https://forum.ionicframework.com/u/jfinnigan)\
**Post date:** [December 7, 2013, 3:18pm UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164/5 "2013-12-07T15:18:48Z")

</div>

Thanks @timcash

Can the directory structure you’ve created be put into my webserver and be served up to any iconic compliant browser? Are there cross domain issues with firebase and, if so, how to solve that?

---

<div class="post-metadata">

**Author:** ![timcash](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@timcash](https://forum.ionicframework.com/u/timcash)\
**Post date:** [December 7, 2013, 7:41pm UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164/6 "2013-12-07T19:41:25Z")

</div>

I am able to serve the www directory yes. Firebase takes care of the cross domain stuff for you =). Keep in mind this code was just what I smashed together in a few minutes to see if I could get firebase working with ionic.

---

<div class="post-metadata">

**Author:** ![jfinnigan](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@jfinnigan](https://forum.ionicframework.com/u/jfinnigan)\
**Post date:** [December 7, 2013, 9:01pm UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164/7 "2013-12-07T21:01:31Z")

</div>

Super! Much appreciated!

---

<div class="post-metadata">

**Author:** ![max](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/max/32/137761_2.png) [@max](https://forum.ionicframework.com/u/max)\
**Post date:** [December 8, 2013, 7:15pm UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164/8 "2013-12-08T19:15:24Z")

</div>

Hey @timcash, that looks awesome. I couldn’t tell from the commits if it was ready to be used (something about the pushDown error which I just fixed in the most recent release).

Let me know if you’d be up for us tweeting this, it looks really cool!

---

<div class="post-metadata">

**Author:** ![timcash](https://avatars.discourse-cdn.com/v4/letter/t/e19b73/32.png) [@timcash](https://forum.ionicframework.com/u/timcash)\
**Post date:** [December 12, 2013, 1:05am UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164/9 "2013-12-12T01:05:38Z")

</div>

Yeah I am still working on a few problems at the moment but I would love to show it off in a couple weeks =)

---

<div class="post-metadata">

**Author:** ![PremAgrawal](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/premagrawal/32/99491_2.png) [@PremAgrawal](https://forum.ionicframework.com/u/PremAgrawal)\
**Post date:** [February 2, 2017, 9:05am UTC](https://forum.ionicframework.com/t/can-ionic-run-directly-from-being-loaded-from-a-website/164/10 "2017-02-02T09:05:22Z")

</div>

Hey @jfinnigan, @max I am also try to implement some thing like this, I have already developed an Android & iOS mobile app using IONIC, now I just wants to figure out, how i can convert or use my IONIC code to develop similar web app. I am using Spring web services in my app. Please help me…
