Site is back online. Thanks for your patience! Also thank you to #PythonAnywhere for jumping in with request-blocking assistance.

Question: I want to run a simple #Python script from a server that posts a daily overview of the birds in our garden to social media.

I've found #PythonAnywhere, which seems to work perfectly but is a little too expensive for this simple bot. The free version doesn't let me schedule a daily task.

Does anyone know a free or cheap server to run a daily bot from (which is also easy enough to operate for me)? Thanks!

Explore Vim Without Installation
#JupyterLite #Vim #Vimtutor #pythonanywhere
https://pin.it/7pf7YtTIB via @pinterest
Pin on Vim

This Pin was discovered by SeveTech. Discover (and save!) your own Pins on Pinterest.

Pinterest
I wish I'd started with a #VPS instead of shared web hosting. There's no easy way at my web host to migrate up either. All I want to do is run a simple #Python script every few hours. I'm fine with paying a few pounds/dollars - #Pythonanywhere etc. have too many restrictions at the free tier.

Earlier today I posted about a spoof site of mine on #pythonanywhere, 𝐹º𝑛t 𝘔ⅸᵉ𝐫, which converts identifiers in ASCII #Python to equivalent identifiers by randomly selecting Unicode points that normalize back to the original ASCII, and are therefore directly runnable, even though they look like a ransom note. Remember, builtins and all stdlib names can be denormalized this way.

I went to check the web logs, and found that someone found another PA site of mine, https://ptmcg.pythonanywhere.com/pyrac...

@grueproof What about your #WebHosting, are you using #PythonAnywhere or other free service?

FastHTML - Modern web applications in pure Python

Link📌 Summary:
FastHTML 是一個 Python 函式庫,讓開發者能夠輕鬆建立網路應用程式。它使用熟悉的網路技術,如 HTTP、HTML、JS 和 CSS,為開發者帶來無限的可能性。FastHTML 是基於現代網路技術構建的,不依賴最新的趨勢,而是提供了一種簡單快捷的方式來建立任何類型的應用程式,包括簡單的儀表板、可擴展的網路應用程式、分析模型和互動報表、客製化的部落格和內容密集型網站等。

🎯 Key Points:
- FastHTML 是基於現代網路技術構建的,不依賴最新的趨勢。
- 使用 FastHTML,只需要一份 Python 檔案就可以建立任何想像得到的應用程式。
- FastHTML 提供全面的訪問權限,以 HTTP、HTML、JS 和 CSS,將網路的基礎帶給開發者。
- FastHTML 應用程式非常快速和可擴展,並且可以輕鬆部署,因為它們可以使用任何支援 Python 的託管服務。
- FastHTML 可以部署到任何支援 Python 的服務或伺服器,包括 Railway.app、Vercel、Hugging Face Spaces、Replit 和 PythonAnywhere。
- FastHTML 與 FastAPI 有相似之處,FastAPI 是為了建立 API 而設計,FastHTML 則是為了建立 HTML(即「超媒體應用程式」)。
- FastHTML 可以建立現代的單頁應用程式(SPA)應用程式,通過預設的路由返回輕量級的部分,可以直接更新 DOM,而不需要進行完整的頁面刷新。
- HTMX 是一個小型的 JavaScript 函式庫,填補了網頁瀏覽器的缺失部分,也是將網頁瀏覽器的類似功能直接整合到未來瀏覽器中的候選者。
- 使用 FastHTML 和 HTMX,可以大大增加所能實現的內容。
- 開發者不需要知道 JavaScript,只需要使用 Python 就可以建立幾乎所有標準的網路應用程式,但使用一點 JavaScript 可以有所幫助。
- FastHTML 應用程式通常比使用大型 JavaScript 函式庫的 JS 方式更快,因為它們可以非常輕量。

🔖 Keywords:
#FastHTML
#Python
#網路應用程式
#基礎網路技術
#現代網路應用程式
#可擴展和高性能
#輕量級
#HTML + HTMX
#無限可能
#開發者友好
#快速部署
#PythonAnywhere
#Vercel
#Railway.app
#Hugging Face Spaces
#Replit
#一鍵部署
#建立任何想像得到的應用程式
#使用熟悉的網路技術
#基於現代網路技術
#無限的可能性
#單頁應用程式
#輕量級部分
#更新 DOM

FastHTML

Modern web applications in pure Python

fastht.ml

Oh yes, it was the latter. Drat, I've let that bot languish a bit. Must give it a poke.

I think there were some server changes at #PythonAnywhere
that broke my script. I should move it to self-hosted like my other stuff.

I updated my personal site to use #FastAPI instead of #Flask and migrated that from #PythonAnywhere to #Railway

If you're interested in what the deployment process looks like on Railway's platform, clone this repo: https://github.com/railwayapp-templates/fastapi

& set up a new project on Railway at https://railway.app?referralCode=2ISez8

They're generous enough to allow one custom domain in their free tier, which is rare to see from a hosting platform 🤩

#python

GitHub - railwayapp-templates/fastapi

Contribute to railwayapp-templates/fastapi development by creating an account on GitHub.

GitHub

Interested in a convenient, cost-effective, and powerful hosting platform for your #python code or web apps? Try #PythonAnywhere at https://www.pythonanywhere.com/?affiliate_id=00ee4f7c

They also offer MySQL and PostgreSQL databases as well as templates for #django and #flask apps

Host, run, and code Python in the cloud: PythonAnywhere

Host, run, and code Python in the cloud: PythonAnywhere