Code Monkey home page Code Monkey logo

vhscom / metaform Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 138 KB

:wood: Experimental web front-end for @logseq deployed to the @cloudflare Pages Functions. Mirror of metaform on Codeberg. :point_down:

Home Page: https://codeberg.org/vhs/metaform/

License: GNU Affero General Public License v3.0

JavaScript 3.27% TypeScript 57.29% CSS 0.36% HTML 1.11% Svelte 27.77% PLpgSQL 10.20%
bun cloudflare-workers postgresql supabase sveltekit typescript vite

metaform's Introduction

Namaste. I hope you are well. ๐Ÿ™๐Ÿผ

Thank you for visiting. Here's a little bit about me:

Tools & technologies I work with:

list of tools and technologies I work with

metaform's People

Contributors

vhscom avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

metaform's Issues

Protecting Supabase API keys

Do not put any API keys that aren't public in a SvelteKit load function. There's currently no enforcement logic for this in the project. One approach to mitigate leaking private API keys in a SvelteKit load function is to use dotenv as shown here. However, those keys cannot be used in a Cloudflare edge function which uses a WebWorker runtime as opposed to Node.js.

Uploading exports does not delete data

Postgres trigger functions currently insert and upsert only. If you need to drop records from the database, here's a workaround:

drop table if exists export
drop table if exists page
drop table if exists block

Run that to purge the DB then rerun setup.sql to start fresh.

The vision for the db is to add a closure table to define the graph hierarchy and a related table to define block order. Bill Karwin is the expert and has left quite a bit of reference material on SO as well as some videos in various talks on YouTube.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.