dlbnco / tripby.org Goto Github PK
View Code? Open in Web Editor NEWHarm reduction info about psychoactive drugs with data provided by PsychonautWiki.org
Home Page: https://tripby.org
Harm reduction info about psychoactive drugs with data provided by PsychonautWiki.org
Home Page: https://tripby.org
Drug
dataDrug
with new values as soon as any data is changed.
Drug
and current Drug
Drug
Drug
becomes current Drug. Old Drug
is discarded.PsychonautWiki data is under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license
, but it still not properly referenced on the website.
We should:
Attribution โ You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
ShareAlike โ If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
Site breaks when trying to iterate over a nullable key value that can be an array. No key value should be assumed non-nullable unless specified in the schema.
Example query: https://api.psychonautwiki.org/?query=query%7Bsubstances(query:%22Armodafinil%22)%7Bclass{psychoactive}%7D%7D
Navigate to Armodafinil, Nitrous, et al.
Translations in Portuguese/Spanish can help a lot of people working with harm reduction informations.
PS: I can help with i18n!
https://github.com/react-boilerplate/react-boilerplate
For better DX and scalability :)
Users should be rewarded for contributions they make, like posting experiences.
The PsychonautWiki API provides information regarding drug interactions for some substances, but this is not shown yet in the interface.
On each substance page, it could have a list of interactions, with links to each substance. Each type of interaction (safe, unsafe, etc.) could have a different visual treatment.
There are just 4 queries in the entire app and Apollo is probably overkill for this. React Query has the same caching and lifecycle utilities while being probably more straightforward to integrate with data fetching in Next.js.
We should probably use getStaticProps
in pages to save requests to the PsychonautWiki API and also function invocations on Vercel. The wiki data doesn't update that often, and 1 day or even more should be a good revalidate
period.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.