Coder Social home page Coder Social logo

pore's Introduction

self-host

curl -o docker-compose.yaml "https://raw.githubusercontent.com/mmayss/pore/dev/docker-compose.prod.yaml?token=GHSAT0AAAAAACPN4DQVKPQD2QNW22YC5S3QZQF6WIA" && curl -o .env "https://raw.githubusercontent.com/mmayss/pore/dev/.example.env?token=GHSAT0AAAAAACPN4DQUUZICXXQ2APH3VQFWZQF6YSQ"
  • change the values in the .env file
  • run docker-compose up -d
  • good job <3

pore's People

Contributors

samisul avatar dependabot[bot] avatar

Stargazers

Hasan Süleyman avatar  avatar

Watchers

 avatar

pore's Issues

browser caching

  • invalidate cache function sets the status in local storage
  • http (file) level caching, so we return indexdb saved stuff from cache if its still valid.
  • invalidate on add, update, delete

form stuff

<script>
	import { invalidateAll, goto } from '$app/navigation';
	import { applyAction, deserialize } from '$app/forms';

	/** @type {import('./$types').ActionData} */
	export let form;

	/** @type {any} */
	let error;

	/** @param {{ currentTarget: EventTarget & HTMLFormElement}} event */
	async function handleSubmit(event) {
		const data = new FormData(event.currentTarget);

		const response = await fetch(event.currentTarget.action, {
			method: 'POST',
			body: data
		});

		/** @type {import('@sveltejs/kit').ActionResult} */
		const result = deserialize(await response.text());

		if (result.type === 'success') {
			// rerun all `load` functions, following the successful update
			await invalidateAll();
		}

		applyAction(result);
	}
</script>

<form method="POST" on:submit|preventDefault={handleSubmit}>
	<!-- content -->
</form>

https://kit.svelte.dev/docs/form-actions

browser extension

allows you to add directly from your browser either by select + add or just normal fields (maybe just the simple fields, not full on integration)

auth with the cookie? can it work? because cookies are bound to the domain i dont think this is possible

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.