The Anvil App Server is now open source!

  • Is Anvil the company looking to end support of the cloud platform?

Absolutely not! Our goal is that building a web application should be as simple as possible, and the cloud hosting platform is a vital part of realising it. When we describe Anvil to someone new, we say:

Think about what it would take to build a traditional web application. You would need to know HTML, Javascript, CSS, Python, SQL, React, Redux, Bootstrap, Flask, SQLAlchemy, Sass, Webpack…and that’s a simple app. But even then, you’re not done. You still have to know about Git, about AWS, about how to secure a Linux system, how to set up a database…and then you’re on call for keeping it all running, forever. Or…you could use Anvil. Build your UI with a drag-and-drop designer, write your logic in Python, and we’ll take care of the rest. Anvil replaces the whole stack with “just write Python”.

I make no bones about it: The Web platform is broken, and Anvil is our attempt to fix it. And a cloud hosting platform with easy deployment is part of how we fix it.

But what happened was that we kept meeting people who said, “that’s great, but…I need to run this on an offshore platform without reliable internet access”, or “I want to package my app into an IoT device I sell” - or just “if I’m putting my eggs in this basket, how can I be sure I can still run my app in ten years’ time?”. The App Server is the answer to all those questions.

Think about the App Server as an escape hatch – just like our Javascript interop, our custom HTML styling, or our Git repository support. It’s there for the (relatively few) people who need it. And everyone else can build confidently with Anvil – because if you ever do need it, you know it’s there.


  • Is there any danger to Anvil the company from a financial stand-point?

We don’t share financial data in public, and it feels like bad taste to crow in public right now about how well we’re doing, when so many people are suffering, but we are currently growing faster than ever, so…No. Just…No. :slight_smile:


  • Should I look at standing up my self-hosted Anvil replacement sooner rather than later?

If you want to play with it, go ahead! But if you want someone else to manage your hosting, keep it upgraded and secure, scale it, manage the logs and make them easy to search, and carry the pager – and if you want to be able to deploy with a click of the mouse – then stick with the cloud platform. The open-source server will be there if ever you need it. :slight_smile:

15 Likes

This is great! Really excited about the additional flexibility and insurance policy.

Just skimmed through some of the source on github. I didn’t realize you guys are a Clojure shop. That’s awesome!

4 Likes

This is great and exciting news. Thank you Anvil team for this great achievement. I just have a couple of questions:

  1. In hosting the Anvil runtime locally or on a different server, will all the other features of Anvil work the same such App Secrets, Datatables, Emails and such.

  2. Is there any difference in hosting an app externally with the Anvil runtime engine when the app was built say with a free account and another app built with an upgraded account with access to more python libraries.

  3. This is not really a smart question (makes me wonder if any of the others are). I just want to be certain. Say I build an app for a client using my individual account and host it externally on the client’s server with the Anvil runtime. If for some reason, my account no longer exists or say I downgrade, will this have any effects on the client’s application?

Once again, kudos to the Anvil team for making this available as an option for us. Thank you for the great work. Looking forward to your response.
Agobin.

That’s quite simply the most amazing news and my head just exploded thinking about all of the possibilities. Anvil could become the default platform for all stand alone device interfaces.

2 Likes

This is a pretty incredible development. Thank you and congrats on the release!

A couple of questions for you Meredydd if you don’t mind:

  • How does this work in terms of licensing? - Do self-hosted apps have the same tier limits (such as how data table rows) as paid plans?
  • Does the self-hosted runtime report back to Anvil for auth/verification etc?
1 Like

This is truly amazing. The main hesitation I’ve heard from data science users is not being able to host the apps where they want. This completely eliminates the issue and makes Anvil even better.

Thanks for all your hard work Anvil team!

3 Likes

I’ve loved this platform from the very beginning, but this takes it to a whole new level. This is so great. Thank you so much.

2 Likes

Really good news!
You guys made an excellent tool, I can’t thank you enough for the effort and time behind.

For me it is the close future on how full-stack development will work.

Awesome job guys!

1 Like

I’m especially excited about how this will streamline the process of having development and production versions of apps. The development app can now be the one running on my local machine, and the production version the remote one running on the Anvil servers. It seems like this’ll remove a layer of complexity from the process.

Edit: maybe not, I can’t imagine doing anything directly with the form yaml files or data tables. Code changes could be made and tested locally, certainly, but larger changes would still need the web interface.

4 Likes

I’m breathless.
Can’t find words to say how much I’m happy and excited about this!
Awesome awesome awesome!!

1 Like

Now that’s is a pivot and a half!

Some Raven code has snuck into the repo, just as a heads-up.

How long 'til the AirTable integration goes live? :wink:

Edit: Someone questioned the viability of Anvil the business. Private limited companies in the UK are required to publish accounts on an annual basis. These records are accessible to anyone with a web browser and access to the Companies House website. It’s only a point-in-time snapshot of financial position, but combined with some ballpark assumptions about overheads, can give a pretty good idea of where any company is at.

1 Like

Is there any plan to make a desktop app for modifying the YAML files? It’s such a pain to have to git push, edit in the web app, and git pull again, it would be so useful to have an offline editor - especially with the new open-source runtime

3 Likes

To reply to some of your questions @Agobin, @Ankur, @argonaut.industries:

You can use Anvil services like App Secrets, Data Tables and Email with the App Server. There’s more information about configuring the App server to use Anvil Services in the README.

There are no limits (such as Data Table rows, Data Table storage, Python libraries and Background Task timeout) on the App Server, and you don’t even need an Anvil account to build and host apps using the App Server. In practice, the simplest and easiest way to build and deploy Anvil apps is with the online Editor and the one-click cloud hosting service. This is what your pricing plan relates to.

The App Server doesn’t report back to Anvil for authentication or verification - it can run on a completely isolated network if you need it to.

3 Likes

Hello,

Thats great.
It helps me a lot doing my web app in my Raspberrypi, and it works fine (I follow your tutorial: https://github.com/anvil-works/anvil-runtime/blob/master/doc/getting-started.md).

In Anvil IDE I add a Data Table, but when I open my app in my RaspberryPi, I dont have the Data Table.

I only have a question: How can I put to work the Data Table in my Raspberrypi (Raspbian) ?

Thank you

1 Like

It would be great to know whether The Anvil App Server production ready or just for development?

2 Likes

Brilliant. This greatly improves my confidence in the company to be a real contender in the system critical software spaces.

1 Like

Unfortunately, it is very unlikely the online editor will be made available since this is anvil core business, in my view.

When using the app server, there is a high chance that many people still pay for the plan to use python 3 and several other libs. It is a win-win case

1 Like

How about the Business plans and above Microsoft integration? Say, we begin with working on a project using the online editor without a business plan. Then we deploy to our instance of the open source server. If we edit the code outside of the online editor (and commit to git) to add Microsoft API service integration, what happens when we open the project in the online editor?

The main reason I am asking is as much as I would prefer to use Anvil’s cloud hosting service, AWS eu-west-2 is too far for Southeast Asia users. It looks like the only option I have is to launch an instance of Anvil open source server in the region. Paying for both a Southeast Asian VM and an Anvil business cloud hosting plan would break the budget.

@meredydd, might want to include this feature in your “Anvil in 1 minute” video :slight_smile:

A post was split to a new topic: [App Server] Starting at boot